https://bz.apache.org/bugzilla/show_bug.cgi?id=64430
Bug ID: 64430 Summary: rotating catalina.out (using named pipe) Product: Tomcat 8 Version: 8.5.54 Hardware: PC OS: Linux Status: NEW Severity: enhancement Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: harald.dun...@aixigo.de Target Milestone: ---- Created attachment 37239 --> https://bz.apache.org/bugzilla/attachment.cgi?id=37239&action=edit patch for catalina.sh AFAICS the code in catalina.sh to rotate catalina.out has been withdrawn with 5.8.39. #53930 Changing the system's logrotate.conf to rotate catalina.out requires root permission. This might be not an option in some cases. I would like to suggest a new approach to rotate catalina.out. See attached patch. The idea is to define CATALINA_OUT_CMD (as for 8.5.38), but this time catalina.sh creates a named pipe on the fly, to be used instead of a plain file "catalina.sh". The code about catalina's PID is not changed, i.e. the systemd users should be happy with the new version. The default behavior of catalina.sh hasn't been changed (hopefully). Just a suggestion, of course. Keep on your good work -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org