Package: tomcat8
Severity: normal

Dear Maintainer,

i think the tomcat8 (and also the tomcat7) package should probably have an 
adjustment in the /usr/share/tomcat8/logrotate.template file:

/var/log/tomcat7/catalina.out {
 copytruncate
 weekly
 rotate 52
 compress
 missingok
 create 640 tomcat7 adm
}

should be

/var/log/tomcat7/catalina.out {
 copytruncate
 weekly
 rotate 52
 compress
 delaycompress
 missingok
 create 640 tomcat7 adm
}

delaycompress should be added, because i get following error on my ubuntu 16 
system:

/etc/cron.daily/logrotate:
gzip: stdin: file size changed while zipping

i think delaycompress should fix this errorĂ¢

Reply via email to