03-01-2006 04:17 PM
I have a problem where the syslog.log file (in the ciscoworks log directory) grows to a huge size and then crashes ciscoworks because disk space has run out.
Is there a way to automatically limit the size of syslog.log?
Solved! Go to Solution.
03-01-2006 05:17 PM
Yes, you should be using logrot, which is in the CSCOpx\bin directory. On-line help is available for logrot.
03-01-2006 05:17 PM
Yes, you should be using logrot, which is in the CSCOpx\bin directory. On-line help is available for logrot.
03-01-2006 06:51 PM
Thanks! that did the job.
03-24-2006 01:02 PM
Can I ask how you ran the logrot utility?? What switches if any did you use?
03-24-2006 03:19 PM
/opt/CSCOpx/bin/logrot.pl -c will launch the configuration utility. Ensure you save all changes before you exit.
Then run the utility simply by running:
/opt/CSCOpx/bin/logrot.pl
I have mine running nightly via cron:
/opt/CSCOpx/bin/logrot.pl >> /var/adm/CSCOpx/log/logrot
HTH
Nick
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: