Huawei Quidway S3100 Series Operation Manual page 476

Table of Contents

Advertisement

Operation Manual – Information Center
Quidway S3100 Series Ethernet Switches
Step 2: Edit the file "/etc/syslog.conf" as the superuser (root user) to add the following
selector/action pair.
# Quidway configuration messages
local7.info
Note:
Note the following items when you edit file "/etc/syslog.conf".
A note must start in a new line following a "#" sign.
In each pair, a tab should be used as a separator instead of a space.
No space is permitted at the end of the file name.
The facility and received log information severity specified in file "/etc/syslog.conf"
must be the same with those configured in commands info-center loghost a.b.c.d
facility and info-center source. Otherwise, log information output to the log host
may fail.
Step 3: After the log file "information" is created and the file "/etc/syslog.conf" is
modified, run the following commands to view the process ID of the system daemon
"syslogd", stop the process, and then restart the daemon "syslogd" in the background
with the "-r" option.
# ps -ae | grep syslogd
147
# kill -9 147
# syslogd -r &
Note:
In case of Linux log host, the daemon "syslogd" must be started with the "-r" option.
After all the above operations, the switch can make records in the corresponding log
file.
Note:
Through combined configuration of the device name (facility), information severity level
threshold (severity), module name (filter) and file "syslog.conf", you can sort
information precisely for filtering.
/var/log/Quidway/information
Huawei Technologies Proprietary
1-16
Chapter 1 Information Center

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents