312CHAPTER 34: INFORMATION CENTER CONFIGURATION GUIDE
[3Com]
debug state off trap state off
■Configuration on the log host.
The following configurations were performed on SunOS 4.0 which has similar configurations with the Unix operating systems implemented by other vendors.
#Execute the following commands as a root user.
#mkdir /var/log/3Com
#touch /var/log/3Com/information
#Edit the file /etc/syslog.conf as a root user and add the following selector/action pairs.
#3Com configuration messages
local4.info /var/log/3Com/information
#After the log file information has been created and the configuration file /etc/syslog.conf has been modified, ensure that the configuration file /etc/syslog.conf is reread by executing the following commands:
#ps
147
# kill
Complete Configuration ■ Configuration on the switch.
#
■Configuration on the log host.
#
#mkdir /var/log/3Com
#touch /var/log/3Com/information
#3Com configuration messages
local4.info | /var/log/3Com/information |
# |
|
#ps
#kill
Precautions Note 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 device name and the accepted severity of log information specified by the /etc/syslog.conf file must be identical to those configured on the device using the