[syslog-ng]Issues with names in syslog-ng

Shahid Shafi syslog-ng@lists.balabit.hu
Mon, 15 Nov 2004 09:54:07 -0800


Hi Folks,

I am using syslog-ng as a syslog server for Cisco Content Switches. I
receive logs and all fine. The only problem is I receive the syslog
message but no hostname associated with it. When I move it to syslogd,
i receive hostnames as well. Here is the quick example.

NOV 15 02:35:40 1/1 3880 NETMAN-1: TRAP:Authentication:Generated by: 1.1.1.1

(this is the actual syslog message generated)

syslog-ng displays as it but syslogd displays it as:

NOV 15 02:35:40 alpha.beta.com 1/1 3880 NETMAN-1:
TRAP:Authentication:Generated by: 1.1.1.1

I really need DNS names to be displayed otherwise I simply dont know
which device is logging this message.

Pls let me know if something needs to be added in my conf file.

thx in advance
Shahid