Comment 15 for bug 1964881

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

There are 4 things writing to /var/log/tomcat9 and they all need to agree on permissions and ownership:
- rsyslog: catalina.out only, syslog:adm
- logrotate: catalina.out only, tomcat:adm
- java (tomcat9 itself): localhost*, catalina.<date>: tomcat:tomcat (:adm via sgid bit)
- tomcat9's maintainer scripts (postinst): chown -Rh tomcat:adm /var/log/tomcat9