28-4
Cisco MDS 9000 Fabric Manager Switch Configuration Guide
OL-7753-01
Chapter 28 Configuring System Message Logging
Configuring System Message Logging
Enabling Message Logging
You can disable logging to the console or enable logging to a given Telnet or SSH session.
•
When you disable or enable logging to a console session, that state is applied to all future console
sessions. If you exit and log in again to a new session, the state is preserved.
•
When you enable or disable logging to a Telnet or SSH session. that state is applied only to that
session. If you exit and log in again to a new session, the state is not preserved.
Configuring Console Severity Level
When logging is enabled for a console session (default), you can configure the severity levels of
messages that appear on the console. The default severity for console logging is 2 (critical).
Tip
The current critical (default) logging level is maintained, if the console baud speed is 9600 baud
(default). All attempts to change the console logging level generates an error message. T o increase the
logging level (above critical), you must change the console baud speed to 38400 baud.
Configuring Module Logging
By default, logging is enabled at Level 7 for all modules. You can enable or disable logging for each
module at a specified level.
Configuring Log Files
Logging messages may be saved to a log file. You can configure the name of this file and restrict its size
as required. The default log file name is messages. You can rename this file. The file name can have up
to 200 characters and the file size ranges from 4096 bytes to 4194304 bytes.
The configured log file is saved in the /var/log/external directory. The location of the log file cannot be
changed.
You can display the log file and copy the logfile to a different location.
Configuring the Syslog Daemon
To send log messages to a UNIX syslog server, you must configure the syslog daemon on a UNIX server.
Log in as root, and perform these steps:
Step 1
Add the following line to the file /etc/syslog.conf
local1.debug /var/log/
myfile
.log
Be sure to add five tab characters between
local1.debug
and
/var/log/
myfile
.log
. Refer to entries in the
/etc/syslog.conf file for further examples.
Содержание DS-C9216I-K9
Страница 26: ...Contents xxvi Cisco MDS 9000 Fabric Manager Switch Configuration Guide OL 7753 01 ...
Страница 42: ...xlii Cisco MDS 9000 Fabric Manager Switch Configuration Guide OL 7753 01 New and Changed Information ...
Страница 128: ...10 8 Cisco MDS 9000 Fabric Manager Switch Configuration Guide OL 7753 01 Chapter 10 Managing System Hardware ...