cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
773
Views
5
Helpful
3
Replies

Syslog Log Rotation

xshant
Level 1
Level 1

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

3 Replies 3

Fadi Twal
Cisco Employee
Cisco Employee

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.

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?

yes that is right,

you can see it also explained in the logrot document

http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_common_services_software/3.1.1/user/guide/admin.html#wp645704

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.

Review Cisco Networking for a $25 gift card