Event and Accounting Logs
7705 SAR OS System Management Guide 285
to file
Syntax to file log-file-id
Context config>log>log-id
Description This command is one of the commands used to specify the log ID destination. This parameter is
mandatory when configuring a log destination.
This command instructs the events selected for the log ID to be directed to a specified file.
The source of the data stream must be specified in the from command prior to configuring the
destination with the to command.
The to command cannot be modified or re-entered. If the log destination needs to be changed or if the
maximum size of an SNMP log or memory log needs to be modified, the log ID must be removed then
recreated.
Default No destination is specified.
Parameters log-file-id — instructs the events selected for the log ID to be directed to the log-file-id. The
characteristics of the log-file-id referenced here must have already been defined in the
config>log>file-id log-file-id context.
Values 1 to 99
to memory
Syntax to memory [size]
Context config>log>log-id
Description This command is one of the commands used to specify the log ID destination. This parameter is
mandatory when configuring a log destination.
This command instructs the events selected for the log ID to be directed to a memory log. A memory
file is a circular buffer. Once the file is full, each new entry replaces the oldest entry in the log.
The source of the data stream must be specified in the from command prior to configuring the
destination with the to command.
The to command cannot be modified or re-entered.If the log destination needs to be changed or if the
maximum size of an SNMP log or memory log needs to be modified, the log ID must be removed then
recreated.
Default No destination is specified.
Parameters size — indicates the number of events that can be stored in the memory log
Values 50 to 1024
Default 100