Commit fcc3047f authored by Štěpán Henek's avatar Štěpán Henek 🐻
Browse files

syslog-ng3: don't write log from turris firewall to /var/log/messages

parent a7abd8fa
......@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=syslog-ng
PKG_VERSION:=3.0.5
PKG_RELEASE:=10
PKG_RELEASE:=11
PKG_SOURCE_URL:=http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/$(PKG_VERSION)/source/
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
......
......@@ -16,13 +16,18 @@ source kernel {
file("/proc/kmsg" program_override("kernel"));
};
filter f_turris_iptables {
not match(".*turris[^:]*: .*" value(MESSAGE)) or not level(debug);
};
destination messages {
file("/var/log/messages" suppress(5) template("${ISODATE} ${PRIORITY} ${PROGRAM}[${PID}]: ${MSGONLY}\n") log_fifo_size(256));
};
log {
source(src);
source(kernel);
source(kernel);
filter(f_turris_iptables);
destination(messages);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment