syslog-ng/localhost/stunnel
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
On Thu, Apr 14, 2005 at 12:25:30PM +0300, Dmitry wrote:
I am using syslog-ng with stunnel
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".
Hmm, perhaps you didn't have the right ones together: options { long_hostnames(off); keep_hostname(yes); }; http://www.campin.net/syslog-ng/faq.html#stunnel -- Nate "My suggestion for an Official Usenet Motto: 'If you have nothing to say, then come on in, this is the place for you, tell us all about it!'" - Fosseng, Hevard [quotation collector]
participants (2)
-
Dmitry
-
Nate Campi