[syslog-ng]syslog-ng/localhost/stunnel

Dmitry syslog-ng@lists.balabit.hu
Thu, 14 Apr 2005 12:25:30 +0300


Nice Day.

I am using syslog-ng with stunnel

destination crypto2SS { tcp("127.0.0.1" port (514)); };

On central log host I have:

source crypto { tcp(ip("127.0.0.1") port (514) keep-alive(yes)); };
destination r_facil {file(".../$HOST/$YEAR-$MONTH-$DAY/$FACILITY-$LEVEL.log"); };

and I have strange soft, that send to syslog throught 127.0.0.1:514

Problem:
on my central host syslog-ng put logs into dir .../localhost
(messages from this strange soft, other log put correct).
I am trying to play with keep_hostname and chain_hostnames,
but always got "localhost/localhost".

Can anybody help me ?

Thanx