2010/10/21 André Warnier <[email protected]>: > > Anyway, I am interested in finding a scheme, based on JULI, and which : > - would generally-speaking start by directing ALL Tomcat logs to one single > file, NOT rotated by JULI
You can use the java.util.logging.FileHandler class provided by JRE. > - would use the system facilities (aka logrotate), to rotate, compress and > archive this logfile as I see fit, not as JULI sees fit. copytruncate option in logrotate does a trick here > - would provide a simple path to, /when needed/, provide more specific > logfiles for one or the other application. WEB-INF/classes/logging.properties > (but not the current standard unmanageable mess) > - create a Tomcat FAQ that explains how to do the above, so that other > sysadmin-types can enjoy the fruits of my labor > Patches/contributions to Tomcat documentation are always welcomed (webapps/docs/logging.xml) > There is already a lot of scattered information on this topic in the > archives of this list, but to my knowledge nothing really comprehensive at > one single location. > > Would you like to work at this together ? > Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
