[syslog-ng] load failures in afsocket and afsql
Balazs Scheidler
bazsi at balabit.hu
Fri Dec 17 16:26:57 CET 2010
On Fri, 2010-12-17 at 09:18 -0600, Martin Holste wrote:
> Ok, that all makes sense. So what happens if you instantiate two
> db-parser instances which both refer to the same patterndb XML file.
> That should work, right? Something like;
>
> parser p_db_1 { db-parser(file("patterndb.xml")); };
> parser p_db_2 { db-parser(file("patterndb.xml")): };
> log { source(s_first); parser(p_db_1); destination(d_first); };
> log { source(s_second); parser(p_db_2); destination(d_second); };
Yes. this is fine. in fact, I've found out how to do this properly in
3.3 with the same effect, but without having to duplicate the parser
lines.
--
Bazsi
More information about the syslog-ng
mailing list