[syslog-ng]remote logging and logfile naming

Christian Hammers ch@westend.com
Tue, 5 Mar 2002 13:38:00 +0100


Hi

On Tue, Mar 05, 2002 at 12:50:12PM +0100, Gregor Binder wrote:
> You can keep_hostname(no), but then their has to be some kind of
> mechanism to resolve the FQDN. DNS should work fine and do what you want
> if you turn off keep_hostname().
I found out, that the chain_hostnames(yes) makes problems here although
keep_hostname was turned off both times!

a) chain_hostnames(no):
	proxy.d.westend.com.2002-03-05
		Mar  5 13:22:54 proxy.d.westend.com slapd....
b) chain_hostnames(yes):
	proxy.2002-03-05
		Mar  5 13:19:39 src@proxy/proxy.d.westend.com slapd...

Konfigurations:
 collector, syslog-ng 2.5.13:
	 long_hostnames(yes);
	 use_dns(yes);
	 use_fqdn(yes);
	 keep_hostname(no);
 exporter, syslog-ng 2.5.15
	long_hostnames(yes);
        use_dns(yes);  
	use_fqdn(yes);
	keep_hostname(yes);
        cain_hostnames(no);

bye,

-christian-

-- 
Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
ch@westend.com     Internet & Security for Professionals    Fax 0241/911879
           WESTEND ist CISCO Systems Partner - Premium Certified