----- Original Message ----- > From: "Muriithi, Priscilla K." <priscilla.murii...@thermofisher.com> > To: Tomcat Users List <users@tomcat.apache.org> > Cc: > Sent: Monday, May 28, 2012 9:43 AM > Subject: RE: jsvc catalina.out log wont rotate > >T he logs were rotating before i installed JDK and used the jsvc to start >tomcat > service. This is configured under Red Hat Linux 5.4 and Tomcat 5.5. > > ________________________________________ > From: Caldarale, Charles R [chuck.caldar...@unisys.com] > Sent: Monday, May 28, 2012 12:28 PM > To: Tomcat Users List > Subject: RE: jsvc catalina.out log wont rotate > >> From: Muriithi, Priscilla K. [mailto:priscilla.murii...@thermofisher.com] >> Subject: jsvc catalina.out log wont rotate > >> How can I configure tomcat startup/shutdown script using jsvc to rotate >> catalina.out log. > > Read the FAQ: > > http://wiki.apache.org/tomcat/FAQ/Logging#Q6 > >> The catalina.out log is filling up so fast causing DoS. > > You really should fix your webapp(s) to not use stdout for logging. Not > using a > proper logging framework is indicative of sloppy and lazy programming. > > - Chuck
https://issues.apache.org/jira/browse/DAEMON-80 https://issues.apache.org/jira/browse/DAEMON-95 Google search: jsvc log rotation Which appears to be fixed in 1.0.4. I don't know what version of jsvc is supplied with Redhat Linux 5.4. The current version from the Apache Commons web site is 1.0.10. The DAEMON-95 link has example shell scripts as well. I've not tried any of this. And as Chuck as mentioned, your developers should really not use stdout / stderr for logging. There are lots of quite nice and easy to use logging frameworks available. . . . . . just my two cents. /mde/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org