Is this machine the central log server for your organization? If so, edit the file /etc/sysconfig/syslog.

Add or correct the following line:
SYSLOGD_OPTIONS=”-m 0 -r -s “

Where is the name of your domain.
If the machine is not a log server, edit /etc/sysconfig/syslog, and instead add or correct the line:

By default, RHEL5’s syslog does not listen over the network for log messages. The -r flag enables syslogd to listen over a network, and should be used only if necessary. The -s flag strips the domain name from each sending machine’s hostname before logging messages from that host, to reduce the amount of redundant information placed in log files.

Suggested Posts:

Leave a Reply