[syslog-ng]Syslog-ng Log Files

Denis Doublet denis.doublet@morse.com
Mon, 29 Oct 2001 11:52:15 +0100


Hi,
With syslog-ng, is there anyway to take the facility, level,date,hostname in
the log message ?
We log in a fifo file, and without facility end level, the message log can't
be sorted, every messages have the same form.
We tried many syntaxes, like 
destination probe_netcool { pipe("/var/adm/netcool_pipe"); "$LEVEL" };
or
destination probe_netcool { pipe("/var/adm/netcool_pipe"); '$LEVEL' };
and many others, but every syntax we tried generated a "Syntax error reading
config file, using old configuration" message.
I must avoid syntax like :
destination probe_netcool  { file("/var/adm/$HOST.log"); };
because only one fifo can be scanned (question of licences..)
Thank you
Denis