Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
logging logarchives remove
Syntax
logging logarchives remove { all | files [ filename ] }
The square brackets [ ] surrounding the filename are required as part of the command.
Description
This command removes system log files.
Options
Parameter | Description | Range | Default Value |
---|---|---|---|
all | Removes all system log files | – | – |
files [ filename ] | Removes the specified system log file(s) Note: The square brackets [ ] surrounding the filename are required as part of the command. | One or more existing system log files | – |
Required Privilege Level
Sample Output
bti7800# logging logarchives show
LogFiles Size Date/Time system.log 1528488 Feb 23 15:38 system.log.1 1384958 Feb 11 14:22 bti7800#
bti7800# logging logarchives remove files [ system.log.1
]
system.log.1
bti7800# logging logarchives show
LogFiles Size Date/Time system.log 1528488 Feb 23 15:38 bti7800#