Reference Guide

Brocade Fabric OS Command Reference 929
53-1004112-02
rasAdmin
-log MODULE-ID
Enables or disables logging for all message included in the specified module.
-syslog MSG-ID
Enables or disables logging for an internal message.
--set -log MSG-ID
Changes the default severity level of the specified message.
-severity value
Specifies a new severity level for the message. Valid values include INFO, WARNING,
ERROR, CRITICAL, and DEFAULT.
--show -disabled
Displays all messages that have been disabled.
--show -log MSG-ID
Displays the logging status of the specified message.
--show -module MODULE-ID
Displays the logging status of all messages included in the specified module.
--show -severity MSG-ID
Displays the severity of the specified messages.
--show -all
Displays all external RASlog messages, their status (enabled or disabled), their configured
severity and their default severity.
--show -syslog
Displays the list of internal RASLog messages that are configured to display on the system
console and the syslog server.
Examples To disable logging of a single message:
switch:admin> rasadmin --disable -log NSM-1009
2012/07/20-13:30:41, [LOG-1005], 378, SLOT 4 | CHASSIS, INFO,
PLUTO_25, Log message NSM-1009 has been disabled.
To re-enable logging of a single message that was previously disabled:
switch:admin> rasadmin --enable -log NSM-1009
2012/07/20-13:30:41, [LOG-1005], 378, SLOT 4 | CHASSIS, INFO,
PLUTO_25, Log message NSM-1009 has been enabled.
To disable logging of all messages that belong to the NSM module:
switch:admin> rasadmin --disable -module NSM
2012/07/20-13:28:37, [LOG-1007], 375, SLOT 4 | CHASSIS, INFO,
PLUTO_25, Log Module NSM has been disabled.
To re-enable logging of all messages that belong to the NSM module:
switch:admin> rasadmin --enable -module NSM
2012/07/20-13:28:37, [LOG-1007], 375, SLOT 4 | CHASSIS, INFO, PLUTO_25,
Log Module NSM has been enabled,