Operation Manual – Information CenterH3C S3100 Series Ethernet Switches Chapter 1 Information Center1-19Note:When you edit the file “/etc/syslog.conf”, note that:z A note must start in a new line, starting with a “#” sign.z In each pair, a tab should be used as a separator instead of a space.z No space is allowed at the end of a file name.z The device name (facility) and received log information severity level specified in thefile “/etc/syslog.conf” must be the same as those corresponding parametersconfigured in the 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” ismodified, execute the following command to send a HUP signal to the system daemon“syslogd”, so that it can reread its configuration file “/etc/syslog.conf”.# ps -ae | grep syslogd147# kill -HUP 147After all the above operations, the switch can make records in the corresponding logfile.Note:Through combined configuration of the device name (facility), information severity levelthreshold (severity), module name (filter) and the file “syslog.conf”, you can sortinformation precisely for filtering.1.4.2 Log Output to a Linux Log HostI. Network requirementsThe switch sends the following log information to the Linux log host whose IP address is202.38.1.10: All modules' log information, with severity higher than “errors”.II. Network diagramFigure 1-2 Network diagram for log output to a Linux log host