I prepared a patch fixing this bug. Solved the issue by changing
rsyslogd and logrotated's tomcat config using syslog:adm permissions.

This should be possible to apply to 22.04 and 21.10. Probably not to 
focal/20.04 as it is missing the patch which grants write access to `adm` group 
to `/var/log/tomcat9`
https://bugs.launchpad.net/ubuntu/+source/tomcat9/+bug/1861881/comments/4
If combined with that, it can be applied to 20.04 also.

** Patch added: "Fixes LP: #1964881"
   
https://bugs.launchpad.net/ubuntu/+source/tomcat9/+bug/1964881/+attachment/5573761/+files/1-1.0-1ubuntu1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1964881

Title:
  Logging/Log rotation does not work for catalina.out

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat9/+bug/1964881/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to