cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
755
Views
0
Helpful
2
Replies
xs.gautam
Beginner

CS LMS3.2 logrot not working

Hi Joe,

I have configured logrot from cli to include all log files in D:\LMS\log folder (D:\LMS\log\*.log). with max of 1024 KB.

After doing so I have been trying to schedule rotation from GUI but even after configuring & applying it doesnt work.

How does logrotation actually work ? Does it work in background all time checking threshold of file size. (1024KB in our case) and then

when it reaches thresold it rotates it. Or Does it checks file size thresold only on the scheduled time even if the file size exceeds the thresold ?

Please clarify and suggest further troubleshooting

Regards

Gautam

2 REPLIES 2
xs.gautam
Beginner

Refer to attached screen cap. before reading.

Next, I have tried adding logrot scheduling through CLI and verified if it was running. But I could not see any backup logs archive in

backup folder assigned. Any idea , where are truncated log archives getting stored?

Regards

Gautam

Joe Clarke
Hall of Fame Cisco Employee

It only checks log file sizes when it is scheduled to run.  Only then will the logs be rotated.  You can run NMSROOT/bin/perl NMSROOT/bin/logrot.pl -v from the command line to view debugging output.

Content for Community-Ad