06-02-2011 05:47 AM
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
06-02-2011 11:39 PM
06-05-2011 06:13 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide