Hello i am able to rotate my application logs daily using log4j..Now i want to archive each application's log files, such that i have 7 log files available for view always and rest of the old log files should be another directory gzipped..
Does log4j provides anything for archiving? or i have to use logrotate for this? i tried using this script in logratate.d /usr/share/tomcat5.5.25/logs/lw.*.log { weekly missingok #rotate 7 compress delaycompress olddir=/usr/share/tomcat5.5.25/logs/old_logs/ notifempty sharedscripts } I dont know how can i test this any ides? Thanks Neha 5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]