H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – Information Center
H3C S7500E Series Ethernet Switches Chapter 1 Information Center Configuration
1-20
Note:
Be aware of the following issues while editing the /etc/syslog.conf file:
z Comments must be on a separate line and must begin with the # sign.
z The selector/action pair must be separated with a tab key, rather than a space.
z No redundant spaces are allowed in the file name.
z The device name and the accepted severity of the log information specified by the
/etc/syslog.conf file must be identical to those configured on the device using the
info-center loghost or info-center source command; otherwise the log
information may not be output properly to the log host.
Step 3: After the log file information has been created and the /etc/syslog.conf file has
been modified, issue the following commands to display the process ID of syslogd,
terminate a syslogd process, and restart syslogd using the -r option.
# ps -ae | grep syslogd
147
# kill -9 147
# syslogd -r &
Note:
Ensure that the syslogd process is started with the -r option on a Linux log host.
After the above configurations, the system will be able to keep log information in the
related file.
1.4.3 Outputting Log Information to the Console
I. Network requirements
z Log information with a severity higher than informational will be output to the
console;
z The source modules are ARP and IP.
II. Network diagram
Figure 1-3 Network diagram for sending log information to the console