![Huawei Quidway S5600 Operation Manual Download Page 930](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841930.webp)
Operation Manual – Information Center
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 1 Information Center
Huawei Technologies Proprietary
1-18
Note:
Note the following items when you edit file “/etc/syslog.conf”.
z
A note must start in a new line following a “#" sign.
z
In each pair, a tab should be used as a separator instead of a space.
z
No space is permitted at the end of the file name.
z
The facility and received log information severity specified in file “/etc/syslog.conf”
must be the same with those corresponding parameters configured in commands
info-center loghost
and
info-center source
. Otherwise, log information may not
be output to the log host normally.
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.
1.4.3 Log Output to the Console
I. Network requirements
The switch sends the following information to the console: the log information of the two
modules ARP and IP, with severity higher than “informational”.