What's weird is that old dates are not always reused:

# date
Thu Aug 18 09:17:56 EDT 2016

# service tomcat7 restart
 * Stopping Tomcat servlet engine tomcat7   [ OK ] 
 * Starting Tomcat servlet engine tomcat7   [ OK ] 

# ll -tr /var/log/tomcat7/
...
-rw-r--r-- 1 tomcat7 tomcat7 139590 Aug 18 09:16 sptt-catalina
-rw-r--r-- 1 tomcat7 tomcat7    101 Aug 18 09:17 lnhpd-catalina
-rw-r--r-- 1 tomcat7 tomcat7 145076 Aug 18 09:17 rtbd_access.2016-08-18.log
-rw-r--r-- 1 tomcat7 tomcat7 159354 Aug 18 09:17 lnhpd-catalina.2016-08-17.log
-rw-r--r-- 1 tomcat7 tomcat7      0 Aug 18 09:17 localhost.2016-08-18.log
-rw-r--r-- 1 tomcat7 adm      38205 Aug 18 09:17 catalina.out
-rw-r--r-- 1 tomcat7 tomcat7   4201 Aug 18 09:17 catalina.2016-08-18.log

Here, only lnhpd-catalina.2016-08-17.log has the wrong date, the others
are fine.

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

Title:
  cron logrotation fail on existing files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to