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

CS LMS3.2 logrot not working

xs.gautam
Level 1
Level 1

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
Level 1
Level 1

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
Cisco Employee
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.