Cisco Cisco Email Security Appliance X1050 Guía Del Usuario
37-43
Cisco AsyncOS 8.5.6 for Email User Guide
Chapter 37 Logging
Log Subscriptions
Rolling Over Log Subscriptions
To prevent log files on the appliance from becoming too large, AsyncOS performs a “rollover” and
archives a log file when it reaches a user-specified maximum file size or time interval and creates a new
file for incoming log data. Based on the retrieval method defined for the log subscription, the older log
file is stored on the appliance for retrieval or delivered to an external computer. See
archives a log file when it reaches a user-specified maximum file size or time interval and creates a new
file for incoming log data. Based on the retrieval method defined for the log subscription, the older log
file is stored on the appliance for retrieval or delivered to an external computer. See
for more information on how to retrieve log files from the appliance.
When AsyncOS rolls over a log file, it performs the following actions:
•
Renames the current log file with the timestamp of the rollover and a letter “
s
” extension signifying
saved.
•
Creates a new log file and designates the file as current with the “
current
” extension.
•
Transfers the newly saved log file to a remote host (if using the push-based retrieval method).
•
Transfers any previously unsuccessful log files from the same subscription (if using the push-based
retrieval method).
retrieval method).
•
Deletes the oldest file in the log subscription if the total number of files to keep on hand has been
exceeded (if using the poll-based retrieval method).
exceeded (if using the poll-based retrieval method).
You define a log subscription’s rollover settings when creating or editing the subscription using the
System Administration > Log Subscriptions page in the GUI or the
System Administration > Log Subscriptions page in the GUI or the
logconfig
command in the CLI. The
two settings available for triggering a log file rollover are:
•
A maximum file size.
•
A time interval.
shows the rollover settings available for log subscriptions in the GUI.
Figure 37-1
Log File Rollover Settings for Log Subscriptions
Rollover By File Size
AsyncOS rolls over log files when they reach a maximum file size to prevent them from using too much
disk space. When defining a maximum file size for rollovers, use the suffix
disk space. When defining a maximum file size for rollovers, use the suffix
m
for megabytes and
k
for
kilobytes. For example, enter
10m
if you want AsyncOS to roll over the log file when it reaches 10
megabytes.
Rollover By Time
If you want to schedule rollovers to occur on a regular basis, you can select one of the following time
intervals:
intervals:
•
None. AsyncOS only performs a rollover when the log file reaches the maximum file size.
•
Custom Time Interval. AsyncOS performs a rollover after a specified amount of time has passed
since the previous rollover. To create a custom time interval for scheduled rollovers, enter the
number of days, hours, and minutes between rollovers using
since the previous rollover. To create a custom time interval for scheduled rollovers, enter the
number of days, hours, and minutes between rollovers using
d
,
h
, and
m
as suffixes.