[syslog-ng] replacing log statements

Sergey a_s_y at sama.ru
Wed Mar 6 16:19:18 UTC 2019


On Wednesday 06 March 2019, Scheidler, Balázs wrote:

> In this use-case I would recommend using the "final" flag, e.g. you do this:
> 
>  log { source(sys); filter(f_cyrus); destination(cyrus); flags(final); };
>  log { source(sys); filter(f_mesgs); destination(mesg); };
 
This will require earlier use @include "/etc/syslog-ng/conf.d/*.conf".
But maybe it will be really good idea to place it before all standard
log statements. I'll think about it, thanks. :-)

-- 
Regards,
Sergey


More information about the syslog-ng mailing list