[syslog-ng]template() usage with non-file() output

Balazs Scheidler bazsi@balabit.hu
Thu, 25 Apr 2002 18:07:11 +0200


On Thu, Apr 25, 2002 at 05:53:30PM +0200, Tycho Fruru wrote:
> Hello all,
> 
> Apparently, templates are not (yet ?) supported for non-file output 
> methods, which is too bad for me (wanting to use templates with an 
> external program() or tcp forwarding) :(
> 
> I've looked rapidly at the code but it seems that template functionality 
> is part of the file affile.c ... so perhaps it will not be easy to extract 
> this and make a generic template mechanism.
> 
> I would like to know whether anyone of you guys already have written or 
> are planning a patch to include this functionality (which would of course 
> make syslog-ng even better than it is today :-)

This is planned for the 2.0 release. I might release it in its current
state, however it's not very usable now.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1