Deleting a log file

The log ID must be shut down before it can be deleted. In a previous example, file 1 is associated with log-id 2.

Example
A:ALA-12>config>log# info
----------------------------------------------
file-id 1
            description "LocationTest."
            location cf1:
            rollover 600 retention 24
        exit
...
log-id 2
            description "Chassis log file."
            filter 2
            from security
            to file 1
exit
...
----------------------------------------------
A:ALA-12>config>log#

Use the following CLI syntax to delete a log file.

config>log 
        no log-id log-id
            shutdown
Example

The following shows an example to delete a log file.

config# log
    	config>log# log-id 2
    config>log>log-id# shutdown
    config>log>log-id# exit
    	config>log# no log-id 2