hi dear package maintainers, im not quite sure if im right at this mailing 
list, but tomc...@packages.debian.org<mailto:tomc...@packages.debian.org> 
redirected me here…

i think the tomcat7 (and also the tomcat8) package should probably have an 
adjustment in the /usr/share/tomcat7/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…


i hope im correct here at this email address with this suggestion…


thx and greets,
beni

Reply via email to