Bug#843135: tomcat8: /usr/share/tomcat8/logrotate.template missing "delaycompress"

Benjamin Brupbacher webmaster at inteco.ch
Fri Nov 4 08:31:58 UTC 2016


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â



More information about the pkg-java-maintainers mailing list