3Com 10014299 Network Router User Manual


 
Log Function 93
3 When log files like config and security are created and /etc/syslog.conf file is
modified, an HUP will be sent to the system daemon, Syslogd, by executing the
following commands to make Syslogd re-read its configuration file
/etc/syslog.conf.
#ps -ae | grep syslogd
147
#kill -HUP 147
After the above operations, the router can record information in relevant log files.
Configure Facility (facility name), Severity (severity threshold), Filter, and
syslog.conf file to make a detailed classification of information, so as to filter the
information.
Syslog Configuration Example
Configure log information output of the control console.
1 Turn on the log system
[Router]info-center enable
2 Configure the log information output of the control console, severity ranging
between emergencies ~ debugging, and do not filter the log information output
of PPP module.
[Router]info-center console
[Router]info-center console debugging
3 Turn on debugging switch of PPP module.
[Router]debug ppp all
Configure the log host
The router-side configuration is as follows:
1 Turn on the log system
[Router]info-center enable
2 Use the host with IP address of 10.110.12.119 as the log host, set the severity
threshold to informational, and choose English as the output language.
[Router]info-center loghost 10.110.12.119 language english
Please see “Configuration of log host” for the host-side configuration.