[syslog-ng]syslog-ng blanks in Servicename

Balazs Scheidler syslog-ng@lists.balabit.hu
Wed, 7 May 2003 14:49:52 +0200


On Wed, May 07, 2003 at 02:31:21PM +0200, Christian Osbahr wrote:
> Hi,
> I just installed syslog-ng, and had a similar experience with a certain
> type of switches (Alteon's). Only in this case the syslog messages were
> formatted so that syslog-ng saw the level as the hostname (i.e. my
> syslog files would be named e.g. NOTICE.log when using $HOST.log for the
> filename). Using the bad_hostname() option, as described below, solved
> the problem. However, the question this is all leading to is this: When
> a hostname is matched by the bad_hostname option, what mechanism does
> syslog-ng use to establish a new name?

reverse DNS, or failing that, IP address.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1