Java log Design & amp; Practice (1), java log

Source: Internet
Author: User

Java log Design & Practice (1), java log

During daily development and O & M, you may encounter the following problems:

  • Under what conditions do I need to output logs?
  • How do I select the log level when it is clear that logs need to be output?
  • When it is clear that logs need to be output, what do logs need to be output?
  • How can I determine the project in the log when one Tomcat loads multiple projects?
  • When multiple Tomcat servers load the same project at the same time, can I use log4j DailyRollingFileAppender and other file class Appender?
  • Can I specify the log output directory when multiple Tomcat servers load the same project at the same time?
  • What should I do if Chinese characters in the log are garbled?
  • Can I dynamically adjust the log level of a class?
  • How can I analyze dozens of megabytes of log files per day?

......

I will share with you several articles:

Java log Design & Practice (2)-design

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.