I'm checking kinetic first. Many things to adjust ;)
For one, I see also other log files in /var/log/tomcat9 which are created by the java process itself, via the configuration in /etc/tomcat9/logging.properties. From what I can see, these have their own rotation rules (currently 90 days), and are separate.
So we have:
root@k-tomcat9-logging:~# fuser /var/log/tomcat9/*
/var/log/tomcat9/catalina.2022-06-21.log: 9616
/var/log/tomcat9/catalina.out: 9631
/var/log/tomcat9/localhost.2022-06-21.log: 9616
/var/log/tomcat9/localhost_access_log.2022-06-21.txt: 9616
I'm checking kinetic first. Many things to adjust ;)
For one, I see also other log files in /var/log/tomcat9 which are created by the java process itself, via the configuration in /etc/tomcat9/ logging. properties. From what I can see, these have their own rotation rules (currently 90 days), and are separate.
So we have: tomcat9- logging: ~# fuser /var/log/tomcat9/* tomcat9/ catalina. 2022-06- 21.log: 9616 tomcat9/ catalina. out: 9631 tomcat9/ localhost. 2022-06- 21.log: 9616 tomcat9/ localhost_ access_ log.2022- 06-21.txt: 9616
root@k-
/var/log/
/var/log/
/var/log/
/var/log/
9616: java
9631: rsyslogd
Let's see...