You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-firewall/ufw/files/syslog-ng/syslog-ng.example

14 lines
381 B

# This is an example rule for app-admin/syslog-ng to separate ufw logs
# from /var/log/messages.
# Place those lines before "log" entries in /etc/syslog-ng/syslog-ng.conf.
filter f_ufw { match("\\[UFW " value("MESSAGE")); };
destination ufwfile { file("/var/log/ufw.log"); };
log {
source(src);
filter(f_ufw);
destination(ufwfile);
destination(console_all);
flags(final);
};