Java Log Design & Practice (1)-FAQs

Source: Internet
Author: User

Daily development, operation and maintenance process often encounter the following issues:

  • Under what circumstances do I need to output a log?
  • How do I choose the log level when I explicitly need to output a log?
  • What do I need to output in the log when I explicitly need to output the log?
  • A tomcat loads multiple projects, how do you determine what works in the log?
  • Multiple Tomcat loads the same project at the same time, can you use log4j Dailyrollingfileappender and other file classes Appender?
  • Multiple Tomcat loads the same project at the same time, can you specify the log output directory separately?
  • What about the Chinese characters in the log?
  • Can I dynamically adjust the log level of a class?
  • A day log file has a few 10 trillion, how should be analyzed?

......

Java Log Design & Practice (2)-Design article

Java Log Design & Practice (1)-FAQs

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.