Modifying a log file

Use the following CLI syntax to modify a log file:

config>log 
        log-id log-id
            description description-string
            filter filter-id
            from {[main] [security] [change] [debug-trace]}
            to console
            to file file-id 
            to memory [size] 
            to session
            to snmp [size]
            to syslog syslog-id 

Example: Current log configuration

ALA-12>config>log>log-id# info
----------------------------------------------
...
log-id 2
            description "This is a test log file."
            filter 1
            from main security
            to file 1
exit
...
----------------------------------------------
ALA-12>config>log>log-id#

Example: Modifying log file parameters

config# log
    config>log# log-id 2
    config>log>log-id# description "Chassis log file."
    config>log>log-id# filter 2
    config>log>log-id# from security
    config>log>log-id# exit

Example: Modified log file configuration

A:ALA-12>config>log# info
----------------------------------------------
...
log-id 2
            description "Chassis log file."
            filter 2
            from security
            to file 1
exit
...
----------------------------------------------
A:ALA-12>config>log#