[syslog-ng] global option chain_hostnames() not explained

Balazs Scheidler bazsi at balabit.hu
Wed Jun 21 13:06:58 CEST 2006


On Wed, 2006-06-21 at 00:15 +0200, Wolfram Schlich wrote:
> Unfortunately the documentation leaves it unclear what exactly
> chain_hostnames() does.
> 
> I just guess it does something like creating a chained hostname
> in the form "host1/host2/host3".
> 
> What about use_fqdn() in that case?
> Will it be "host1.example.com/host2.example.com/host3.example.com"?
> Am I right when I think that use_fqdn() does only take effect
> for the hostname where syslog-ng is currently running on?
> 
> Let's say use_fqdn() is on on host1 and host3 and off on host2.
> I guess it would look like this then:
> "host1.example.com/host2/host3.example.com"
> 
> Can somebody clear it up? :-)

use_fqdn only affects local name resolution, sometimes names of the
sending host is resolved, when it is not present in the message. In this
case use_fqdn() affects that as well.

-- 
Bazsi



More information about the syslog-ng mailing list