[syslog-ng]remote logging and logfile naming

Gregor Binder gb@rootnexus.net
Tue, 5 Mar 2002 11:50:50 +0100


Christian Hammers on Tue, Mar 05, 2002 at 11:31:24AM +0100:

Hi Christian,

> options {
>         long_hostnames(on);
>         use_dns(no);
>         use_fqdn(on);
>         keep_hostname(on)
>         chain_hostnames(on);

obviously, your hosts use their short hostname instead of the FQDN to
log messages. You can fix this by putting the FQDN in hostname, however
this is done in your specific OS. `hostname` or `uname -n` should output
the FQDN.

Another option would be to use_dns(yes) and keep_hostname(no), which
could lead to a performance problem (use some sort of DNS caching on the
syslog-ng server).

Regards,

-- 
 ____ ____ 
/  _/| -  >  Gregor Binder <gb@(rootnexus.net|sysfive.com)>
| / || _\ \
\__ Id: 0xE2F31C4B Fp: 8B8A 5CE3 B79B FBF1 5518 8871 0EFB AFA3 E2F3 1C4B