Modifying a file ID

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 not cleared, the old location remains in effect.

The location can be CF (cflash-id) or USB (usb-flash-id).

Use the following syntax to modify a log file.

config>log 
        file-id log-file-id
            description description-string
            location [cflash-id] 
            rollover minutes [retention hours]

Example: Current log configuration output

A:ALA-12>config>log# info
------------------------------------------
        file-id 1
            description "This is a log file."
            location cf1:
            rollover 600 retention 24
        exit
----------------------------------------------
A:ALA-12>config>log#

Example: Command usage to modify log file parameters

  config# log
	config>log# file-id 1
	config>log>file-id# description "LocationTest."
	config>log>file-id# rollover 2880 retention 500
	config>log>file-id# exit 

Example: File modifications

A:ALA-12>config>log# info
----------------------------------------------
...
file-id 1
            description "LocationTest."
            location cf1:
            rollover 2880 retention 500
        exit
...
----------------------------------------------