[syslog-ng] Embedded log statements
Hendrik Visage
hvjunk at gmail.com
Tue Mar 29 12:39:01 CEST 2011
Hi there,
The example in the Administrator's Guide, looks (simplified) like this:
log{ Source(source); filter(f1); destination(d1)
log { filter(f1.1); destination(d1.1)
log {filter(f1.1.1); destination(d1.1.1)};
};
};
ie. the equivalence of:
log{ Source(source); filter(f1); destination(d1)}
log{ Source(source); filter(f1); filter(f1.1); destination(d1.1)}
log{ Source(source); filter(f1); filter(f1.1); filter(f1.1.1);
destination(d1.1.1)};
I need to know if the following also allowed/expected behavior of embedded logs:
log{ Source(source); filter(f1); destination(d1)
log { filter(f1.1); destination(d1.1)
log {filter(f1.1.1); destination(d1.1.1)};
};
log {filter(f1.2); destination(d1.2)};
};
ie. equivalent to:
log{ Source(source); filter(f1); destination(d1)}
log{ Source(source); filter(f1); filter(f1.1); destination(d1.1)}
log{ Source(source); filter(f1); filter(f1.1); filter(f1.1.1);
destination(d1.1.1)};
log{ Source(source); filter(f1); filter(f1.2); destination(d1.2)}
And example to this nature in the documentation would be appreciated ;)
Thank you
Hendrik
More information about the syslog-ng
mailing list