27.11.2012 Views

IronPort - daily management guide - AsyncOS 7.6.1

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 5 Logging<br />

Rollover By File Size<br />

Rollover By Time<br />

OL-25138-01<br />

Figure 5-3 Log File Rollover Settings for Log Subscriptions<br />

Cisco <strong>IronPort</strong> <strong>AsyncOS</strong> 7.6 for Email Daily Management Guide<br />

Log Subscriptions<br />

<strong>AsyncOS</strong> rolls over log files when they reach a maximum file size to prevent them from using too much<br />

disk space. When defining a maximum file size for rollovers, use the suffix m for megabytes and k for<br />

kilobytes. For example, enter 10m if you want <strong>AsyncOS</strong> to roll over the log file when it reaches 10<br />

megabytes.<br />

If you want to schedule rollovers to occur on a regular basis, you can select one of the following time<br />

intervals:<br />

None. <strong>AsyncOS</strong> only performs a rollover when the log file reaches the maximum file size.<br />

Custom Time Interval. <strong>AsyncOS</strong> performs a rollover after a specified amount of time has passed<br />

since the previous rollover. To create a custom time interval for scheduled rollovers, enter the<br />

number of days, hours, and minutes between rollovers using d, h, and m as suffixes.<br />

Daily Rollover. <strong>AsyncOS</strong> performs a rollover every day at a specified time. If you choose a <strong>daily</strong><br />

rollover, enter the time of day you want <strong>AsyncOS</strong> to perform the rollover using the 24-hour format<br />

(HH:MM).<br />

Only the GUI offers the Daily Rollover option. If you want to configure a <strong>daily</strong> rollover using the<br />

logconfig command in the CLI, choose the Weekly Rollover option and use an asterisk (*) to<br />

specify that <strong>AsyncOS</strong> should perform the rollover on every day of the week.<br />

Weekly Rollover. <strong>AsyncOS</strong> performs a rollover on one or more days of the week at a specified time.<br />

For example, you can set up <strong>AsyncOS</strong> to rollover the log file every Wednesday and Friday at<br />

midnight. To configure a weekly rollover, choose the days of the week to perform the rollover and<br />

the time of day in the 24-hour format (HH:MM).<br />

If you are using the CLI, you can use a dash (-) to specify a range of days, an asterisk (*) to specify<br />

every day of the week, or a comma (,) to separate multiple days and times.<br />

Figure 5-4 shows the settings available for the Weekly Rollover option in the GUI<br />

Figure 5-4 Weekly Log Rollover Settings in the GUI<br />

Table 5-36 shows how to use the CLI to roll over the files for a log subscription on Wednesday and Friday<br />

at midnight (00:00).<br />

5-45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!