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