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.
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` /bugs.launchpad .net/ubuntu/ +source/ tomcat9/ +bug/1861881/ comments/ 4
https:/
If combined with that, it can be applied to 20.04 also.