Comment 39 for bug 1964881

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

The same issues affects tomcat10, and I believe the same changes from tomcat9 can be applied to tomcat10.

commit f20fff9cedd4d2db449491ec815b8cda38f84c72
Author: Andreas Hasenack <email address hidden>
Date: Thu Dec 22 14:58:06 2022 -0300

          + d/tomcat9.postinst: adjust ownership of catalina.out so that
            rsyslogd can write to it. Also change the rotated log files for
            consistency.

commit 6565d1422b07b0f2e1d4b23718121692e8887b94
Author: Andreas Hasenack <email address hidden>
Date: Thu Dec 22 14:57:47 2022 -0300

          + d/rsyslog/tomcat9.conf: drop "fileOwner" as it cannot be set by an
            unprivileged rsyslogd

commit 07479b35d889ce117a643fbc45621271241517f9
Author: Andreas Hasenack <email address hidden>
Date: Thu Dec 22 14:57:21 2022 -0300

        - Fix logging for unprivileged rsyslogd (LP #1964881):
          + d/logrotate.template: use syslog:adm for log rotation so that
            rsyslog can write to the file