12-13-2010 12:22 AM
Dear,
Just to understand syslog log rotation. I have configured syslog_info file for log rotation and size i have give is 100mb with 0 no of backups. I have scheduled it to run every week with a backup path. Basically i dont want any backups and i want the syslog_info to be overwritten when it reaches 100mb, are my setting correct?
thanks,
aamir
12-13-2010 12:32 AM
yes this is correct your settings is what you need.
but i'm not sure if 100Mb is enough for you since it depends on the number of devices sending the syslogs to the server and how much data.
so you need to check if the syslog.log file will grow for more than 100MB during the week until the next schedule run.
12-13-2010 12:50 AM
So basically when the weekly schedule will run it will check the syslog_info file, if it has reached 100mb it will start overwriting without any archives right?
12-13-2010 01:07 AM
yes that is right,
you can see it also explained in the logrot document
Step 5 Specify the number of archive revisions. If you do not want to keep any archives, enter 0 (the default) for this option.
hope this is what you are looking for.
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