Specifications

Table Of Contents
2-57
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
clear logger
clear logger
Clears SCE platform logger (user log files). This erases the information stored in the user log files.
clear logger [device user-file-log|line-attack-file-log ] [counters|nv-counters]
Syntax Description
Command Default This command has no default settings.
Command Modes Privileged EXEC
Command History This table includes the following release-specific history entries:
Usage Guidelines The user log files have a size limit, with new entries overwriting the oldest entries. Therefore, there is
no need to regularly clear the log files. Use this operation when you are certain that the information
contained in the logs is irrelevant and might be confusing (for example, when re-installing the system at
a new site, whose administrators should not be confused with old information).
Use the counters keyword to clear the counters of the SCE platform logger (user log files). These
counters keep track of the number of info, warning, error and fatal messages.
Use the nv-counters keyword to clear the non-volatile counters for the entire log or only the
specified SCE platform. These counters are not cleared during bootup, and must be cleared
explicitly by using this command.
Authorization: admin
Examples
EXAMPLE 1:
The following example clears the SCE platform user log file:
SCE>enable 10
Password:<cisco>
SCE#clear logger device User-File-Log
Are you sure? Y
SCE#
device The device name to be cleared, either user-file-log or line-attack-file-log
Release Modification
2.5.7 This command was introduced.