cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
482
Views
0
Helpful
2
Replies

Syslog file grows very fast. How do i purge it regulary?

wwanjohi123
Level 1
Level 1

I am running LMS2.5, my syslog file on this path "F:\Program Files\CSCOpx\log\syslog.log" grows very fast. How do i purge it regulary?

2 Replies 2

akemp
Level 5
Level 5

logrot.pl , a perl script will do that for you. You can find it on cpan.org .

David Stanford
Cisco Employee
Cisco Employee

logrot is actually built in to LMS2.5

Check for it under CSCOpx\bin

To set it up run the command:

perl logrot.pl -c

After you configure it, add the task (logrot)to the windows scheduler to run it periodically