destination d_ppp { file("/var/log/ppp"); };
destination d_ftp { file("/var/log/xferlog"); };
destination d_audit { file("/var/log/audit"); };
-destination d_postgres { file("/var/log/postgresql/${PROGRAM}.log"); };
destination d_freshclam { file("/var/log/freshclam.log"); };
destination d_shorewall { file("/var/log/shorewall"); };
destination d_console { usertty("root"); };
# Additional filters for specific programs/use
filter f_freshclam { program(freshclam); };
filter f_ppp { program(pppd) or program(chat); };
-filter f_postgres { program(postgres); };
filter f_shorewall { facility(kern) and match("Shorewall:" value("MESSAGE")); };
filter f_dhcp { program("dhcpd") or program("dnsmasq-dhcp"); };
log { source(s_sys); filter(p_debug); destination(d_debug); };
log { source(s_sys); filter(f_daemon); filter(f_ppp); destination(d_ppp); };
log { source(s_sys); filter(f_local6); filter(f_freshclam); destination(d_freshclam); };
-log { source(s_sys); filter(f_local0); filter(f_postgres); destination(d_postgres); };
log { source(s_sys); filter(p_emergency); destination(d_console); };
# This is a catchall statement, and should catch all messages which were not
Summary(pt_BR.UTF-8): Daemon de log nova geração
Name: syslog-ng
Version: 3.18.1
-Release: 2
+Release: 3
License: GPL v2+ with OpenSSL exception
Group: Daemons
Source0: https://github.com/balabit/syslog-ng/archive/%{name}-%{version}.tar.gz