This patch adds a complex but useful stack example. It was undocumented that multiple output plugin can be used in the same stack. This patch change a variable name to fix some example stacks. Signed-off-by: Eric Leblond <eric@xxxxxx> --- ulogd.conf.in | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ulogd.conf.in b/ulogd.conf.in index de5bc11..75b4880 100644 --- a/ulogd.conf.in +++ b/ulogd.conf.in @@ -58,6 +58,9 @@ plugin="@libdir@/ulogd/ulogd_raw2packet_BASE.so" # this is a stack for packet-based logging via LOGEMU with filtering on MARK #stack=log2:NFLOG,mark1:MARK,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU +# this is a stack for packet-based logging via SYSLOG and logging to LOGEMU after filtering on MARK +#stack=log2:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,sys1:SYSLOG,mark1:MARK,emu1:LOGEMU + # this is a stack for flow-based logging via LOGEMU #stack=ct1:NFCT,ip2str1:IP2STR,print1:PRINTFLOW,emu1:LOGEMU @@ -209,8 +212,8 @@ table="ulog" pass="ulog2" procedure="INSERT_PACKET_FULL" -[sys2] -facility=LOG_LOCAL2 +[sys1] +facility=LOG_LOCAL1 [nacct1] sync = 1 -- 1.6.1 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html