System information

12-219
Cisco SN 5428-2 Storage Router Software Configuration Guide
78-15471-01
Chapter 12 Command Line Interface Reference
logging level
logging level
To add a routing rule to the logging table, use the logging level command.
logging level notification-level from facility-name to destination1 [destination2...]
Syntax Description
Defaults The factory default logging rules are as follows:
All messages from all facilities at notice level or lower levels are logged to all destinations.
All messages from all facilities at info level or lower levels are logged to the storage router log file.
All messages from all facilities at debug level are not logged.
Command Modes Administrator.
Command History
Usage Guidelines Event, trace and debug messages can be routed to various destinations, based on the notification level of
the message and the application area (facility) that generated the message. When a log message is
received by the storage router, the logging table rules are searched by facility name and by notification
level until a match is found. The log message is sent to all the destinations specified by the matching
rule. When a new routing rule is added, it is appended to the existing list of entries.
Messages are sent in the following format:
<timestamp>: %<facility>-<level_number>-<mnemonic>: <message text>
The following is an example log message, for the SNMP facility:
Mar 18 11:48:05: %SNMP-5-SASAS: SnmpApp starting...
Each facility can have up to eight notification levels. The notification level limits logging to messages
of the specified level or lower levels, based on level number. Table 12-13 describes the available logging
levels.
Each facility and notification level pair can have up to seven destinations. Table 12-14 describes the
available facility names.
notification-level Limit logging to messages of a specified level or lower levels. See
Table 12-13 in the Usage Guidelines section for a list of valid names that
can be used for the notification-level argument.
from facility-name The name of the facility. A facility is the feature area from which the
message is received. See Table 12-14 in the Usage Guidelines section for a
list of valid facility names. Each facility can have eight notification levels.
Each notification level can have up to seven destination.
to destination1
[destination2...]
At least one of the destinations described in Table 12-15.
Release Modification
3.2.1 This command was introduced