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
  Target Milestone: ----

Created attachment 37239
patch for

AFAICS the code in 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 creates a named pipe on the fly, to be used instead of a plain file
"". 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 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:
For additional commands, e-mail:

Reply via email to