[syslog-ng] Multiple log statements vs If/else
Faine, Mark R. (MSFC-IS40)[NICS]
mark.faine at nasa.gov
Wed May 8 13:28:46 UTC 2019
Is there any functional difference between something like:
log {
....
};
log {
...
flags(final);
};
and
log {
if {
...
} else {
...
};
I was thinking about trying to build a configuration specific for an app from a Jinja2 template in Ansible and it seems like to me that if they aren't different it would be easier to do multiple log statements if generated dynamically.
Thanks,
-Mark
Mark Faine
System Administrator
SAIC/NICS
215 Wynn Dr. 5065
Huntsville, AL 35805
256-961-1295 (Desk)
256-617-4861 (Work Cell)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20190508/3df5f500/attachment.html>
More information about the syslog-ng
mailing list