* Fix logging for unprivileged rsyslogd (LP: #1964881):
- d/logrotate.template: use syslog:adm for log rotation so that
rsyslog can write to the file
- d/rsyslog/tomcat9.conf: drop "fileOwner" as it cannot be set by an
unprivileged rsyslogd
- d/tomcat9.postinst: adjust ownership of catalina.out so that
rsyslogd can write to it. Also change the rotated log files for
consistency.
This bug was fixed in the package tomcat9 - 9.0.58-1ubuntu0.1
---------------
tomcat9 (9.0.58-1ubuntu0.1) jammy; urgency=medium
* Fix logging for unprivileged rsyslogd (LP: #1964881): template: use syslog:adm for log rotation so that tomcat9. conf: drop "fileOwner" as it cannot be set by an
- d/logrotate.
rsyslog can write to the file
- d/rsyslog/
unprivileged rsyslogd
- d/tomcat9.postinst: adjust ownership of catalina.out so that
rsyslogd can write to it. Also change the rotated log files for
consistency.
-- Andreas Hasenack <email address hidden> Wed, 20 Jul 2022 16:05:45 -0300