In a Linux system, the Tail-f catalina.out can be used to track the operation of Tomcat and related applications. Under Windows, Catalina logs are very different from the contents of a Linux record, and most of the information is output to the screen and not to the catalina.out.
Output the console information to "\%ctalina_base%\logs\catalina.out":
1. Open the Startup.bat file below the bin and call "%executable%" Start%cmd_line_args%
Change to call "%executable%" Run%cmd_line_args%.
2, open the bin under the Catalina.bat file, you will find a total of 4 "%ation%", in the following respectively add
">>\%ctalina_home%\logs\catalina.out".
Restart Tomcat, you will find in the Logs folder under the Catalina.out file, the original console information is all written in.
But the output of this catalina.out file, is always growing, that is, the file will grow larger.
Tomcat configuration log output in Windows environment