logrotate not rotating files with date extension
I am trying to configure logrotate on APP/DB servers.As per my backup policy,logs will compress in daily basis and and will be moved to a Central storage device.My tomcat generate several application logs with date extension as well as .log extension.For eg
Currently my tomcat logrotation /etc/logrote.d/
But its rotating logs only with .log extension..ie app.log.2010-10-23-14 (with date extension) is not rotating.If i put "*" instead of "*log",its rotating all files including rotated files.
How can i rotate files which is having date extension.Also i dont want to keep rotated logs for more than 3 days.How can i solve the Issue..
Last edited by ajayan; 10-25-2010 at 01:48 AM.