Event and Accounting Logs
7705 SAR OS System Management Guide Page 231
Use the following CLI syntax to delete a log file:
CLI Syntax: config>log
no log-id log-id
shutdown
The following displays an example of deleting a log file:
Example: config# log
config>log# log-id 2
config>log>log-id# shutdown
config>log>log-id# exit
config>log# no log-id 2
Modifying a File ID
Use the following CLI syntax to modify a file ID :
CLI Syntax: config>log
file-id log-file-id
description description-string
location [cflash-id]
rollover minutes [retention hours]
The following displays the current file ID configuration:
ALU-12>config>log# info
------------------------------------------
file-id 1
description "This is a log file."
location cf3:
rollover 600 retention 24
exit
----------------------------------------------
ALU-12>config>log#
The following displays an example of modifying file ID parameters:
Example: config# log
config>log# file-id 1
config>log>file-id# description "LocationTest."
Note: When the file-id location parameter is modified, log files are not written to the
new location until a rollover occurs or the log is manually cleared. A rollover can be
forced by using the clear>log command. Subsequent log entries are then written to
the new location. If a rollover does not occur or the log is not cleared, the old location
remains in effect.