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 example.com “
Where example.com 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 example.com flag strips the domain name example.com from each sending machine’s hostname before logging messages from that host, to reduce the amount of redundant information placed in log files.