[syslog-ng] priority and facility gone when using template for
remote logging
Wolfram Schlich
lists at wolfram.schlich.org
Wed Jun 21 03:08:16 CEST 2006
On the logserver the priority.facility of all incoming log messages
was "user.notice" instead of the original value.
I used this on the logclient:
template t_remote_s { template("${DATE} ${HOST} ${MSG}\n"); template_escape(no); };
destination d_remote { udp("syslog.mydomain.tld" port(514) template(t_remote_s)); };
log { source(s_local); source(s_kernel); destination(d_remote); };
When *not* using a template for the remote destination, everything
works as expected, priority.facility is back with good values.
Any idea why this happens?
--
Wolfram Schlich
More information about the syslog-ng
mailing list