The log ID must be shutdown first before it can be deleted. In a previous example, file 1 is associated with log-id 2.
A:ALA-12>config>log# info
----------------------------------------------
file-id name "1"
description "LocationTest."
location cf1:
rollover 600 retention 24
exit
...
log-id name "2"
description "Chassis log file."
filter 2
from security
to file 1
exit
...
----------------------------------------------
A:ALA-12>config>log#
The following displays an example to delete 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