[syslog-ng]logging with $HOST and no $HOST

Balazs Scheidler bazsi@balabit.hu
Tue, 15 Oct 2002 10:51:01 +0200


On Mon, Oct 14, 2002 at 08:48:51PM -0400, Hamilton, Andrew wrote:
> You can always use the DEFAULT filter as your last log line.
> 
> log { source(src); filter(DEFAULT); destination(junkfile); };
> 
> That will get all the logs any of your filters would miss.

this is syslog-ng 1.4.x, in 1.5.x you could use the new flags feature:

log { source(src); destination(junkfile); flags(fallback, final); };

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