In Linux, tomcat logs are recorded by date in the tomcat 5 diary under cronolog WIN. in linux, only one catalina is created under tomcat/logs. out parts. A long time. create a log file surge. it is really inconvenient to deal with management. it would be nice to be able to record the date like tomcat in win. if you think about it, you can use cron to extract the diary file. try it. google .cronolog-1.6.2.tar.gz 1.download cronolog-1.6.2.tar.gz 2. install # tar zxvf cronolog-1.6.2.tar.gz #. /configure # make install! By default, it is installed under/usr/local/sbin/. 3. The setting is important. Check out !!! In tomcat/bin/catalian. find org. apache. catalina. startup. bootstrap "$ @" start \> "$ CATALINA_BASE"/logs/catalina. out 2 & 1 & change the above content to org. apache. catalina. startup. bootstrap "$ @" start \ |/usr/local/sbin/cronolog "$ CATALINA_BASE"/logs/catalina. % Y-% m-% d. out>/dev/null 2> & 1 & corrected. restart #. /catalina. sh start: Check the labor result. # ls/tomcat/logs/will create several more files under logs, like catalina.2006.06.01.log.