I have the following new logrotate configuration:
I am running a daemon process that will have to run indefinitely (a ‘service’ so to speak) and wish to log its output. A simple solution like:
I want to set up daily logrotate for my Tomcat server’ catalina.out log file but it’s not working – I haven’t seen the rotated log files created.
To troubleshoot, I ran
logrotate -d /etc/logrotate.conf and got the following: