Tomcat view Log log

In order to facilitate debugging, we often set some logging statements (such as Logger.getLogger()) in Java Web programs. When we use Tomcat to mount Java Web programs, we need to view these logs in the Tomcat folder. In order to modify the code, the specific viewing method is as follows:
1. Enter the Log directory under the Tomcat folder;
2. There are many txt files with the name format "catalina.2020-08-05" in the Log folder, double-click to open the corresponding Date file, you can see the corresponding Log log.
3. Example of log viewing:
Effect picture example
———————————————————————————
Finally, post my personal official account: WeChat search "Chaqian" or scan it picture. Usually, some programming-related articles will be updated, and everyone is welcome to pay attention~
tea move

Guess you like

Origin blog.csdn.net/weixin_46269688/article/details/107824360