Outputting Log Information To The Console - H3C S5500-SI Series Operation Manual

Hide thumbs Also See for S5500-SI Series:
Table of Contents

Advertisement

Operation Manual – Information Center
H3C S5500-SI Series Ethernet Switches
Step 2: Edit the file /etc/syslog.conf as a root user and add the following selector/action
pair.
# H3C configuration messages
local7.info
Note:
Be aware of the following issues while editing the /etc/syslog.conf file:
Comments must be on a separate line and must begin with the # sign.
The selector/action pair must be separated with a tab key, rather than a space.
No redundant spaces are allowed in the file name.
The facility 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 three: 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 to 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, system will be able to keep log information in the related
file.

1.4.3 Outputting Log Information to the Console

I. Network requirements
Log information with a severity higher than informational will be output to the
console;
The source modules are ARP and CMD.
/var/log/H3C/information
1-16
Chapter 1 Information Center Configuration

Advertisement

Table of Contents
loading

Table of Contents