rotate logs log tomcat cron tomcat7 logrotate

logs - Tomcat7 logrotate: superx_default_xml.log.gz ya existe



log rotate catalina out (0)

Todos los días recibo un correo con el siguiente mensaje de error de mi cron:

/etc/cron.daily/tomcat7: gzip: /var/log/tomcat7/superx_default_xml.log.gz already exists; not overwritten gzip: /var/log/tomcat7/superx.log.gz already exists; not overwritten gzip: /var/log/tomcat7/superx-dbforms.log.gz already exists; not overwritten gzip: /var/log/tomcat7/saiku.log.gz already exists; not overwritten gzip: /var/log/tomcat7/superx_default.log.gz already exists; not overwritten

Instalé Tomcat7 en Ubuntu 14.04 y no configuré nada en logrotate confs. Intenté establecer lo siguiente, pero el error persiste:

/var/log/tomcat7/superx.log { copytruncate weekly rotate 52 compress nomail missingok create 640 tomcat7 adm } /var/log/tomcat7/superx-dbforms.log { copytruncate weekly rotate 52 compress nomail missingok create 640 tomcat7 adm } /var/log/tomcat7/saiku.log { copytruncate weekly rotate 52 compress nomail missingok create 640 tomcat7 adm }