Switch 7700 Configuration Guide
20 CHAPTER 11: SYSTEM MANAGEMENT
Local4.crit /var/log/SW7700/config
SW7700 security messages:
local5.notice /var/log/SW7700/security
Pay attention to the following points when editing the file “/etc/syslog.conf”:
■ The description must start from a fresh line and begin with a pound key #.
■ Use tab character to separate the selectors/action pairs instead of space.
■ No redundant spaces should be left behind the name of the file.
c When the log files “config” and “security” are created, and the file
“/etc/syslog.conf” is modified, perform the following commands to send a HUP
signal to the system demon syslogd, so that the syslogd can read the
configuration file “/etc/syslog.conf” again.
ps -ae | grep syslogd 147
kill -HUP 147
After the above operations are performed, the system can record information in
the corresponding logging files
Note: Configuring integrally the facility, severity, filter and the file “syslog.conf”
makes it possible to perform the detailed classification for the purpose of
information filtering.
Example: Log
Configuration
Configure to output log on the Console, as follows:
1 Enable the logging system.
[SW7700] info-center enable
2 Configure the logging output of the console and allows the log output of RSTP
module with the severity ranged from “emergencies” to “debugging”.
[SW7700] info-center console channel console
[SW7700] info-center source rstp channel 6 log level debugging
3 Enable RSTP module debugging.
<SW7700> debugging rstp all
Configure the info-center loghost as follows:
1 Enable the logging system.
[SW7700] info-center enable
2 Set the host at 202.38.1.10 as info-center loghost, sets the severity threshold to
informational, the output language to English and allows the RSTP and IP modules
to output information.
[SW7700] info-center loghost 202.38.1.10 language english
[SW7700] info-center source rstp channel 5 log level informational
[SW7700] info-center source ip channel 4 log level informational
For the configurations at the host side, refer to the section of Info-center loghost
Configuration.