SOURCES: syslog-ng.conf - prefix destinations
arekm
arekm at pld-linux.org
Fri Jan 16 14:54:59 CET 2009
Author: arekm Date: Fri Jan 16 13:54:59 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- prefix destinations
---- Files affected:
SOURCES:
syslog-ng.conf (1.29 -> 1.30)
---- Diffs:
================================================================
Index: SOURCES/syslog-ng.conf
diff -u SOURCES/syslog-ng.conf:1.29 SOURCES/syslog-ng.conf:1.30
--- SOURCES/syslog-ng.conf:1.29 Fri Jan 16 11:53:21 2009
+++ SOURCES/syslog-ng.conf Fri Jan 16 14:54:54 2009
@@ -30,36 +30,36 @@
# uncomment the line below if you want to setup syslog server
#source s_net { udp(); };
-#destination loghost { udp("loghost" port(514)); };
+#destination d_loghost { udp("loghost" port(514)); };
-destination kern { file("/var/log/kernel"); };
-destination messages { file("/var/log/messages"); };
-destination authlog { file("/var/log/secure"); };
-destination mail { file("/var/log/maillog"); };
-destination uucp { file("/var/log/spooler"); };
-destination debug { file("/var/log/debug"); };
-destination cron { file("/var/log/cron" owner(root) group(crontab) perm(0660)); };
-destination syslog { file("/var/log/syslog"); };
-destination daemon { file("/var/log/daemon"); };
-destination lpr { file("/var/log/lpr"); };
-destination user { file("/var/log/user"); };
-destination ppp { file("/var/log/ppp"); };
-destination ftp { file("/var/log/xferlog"); };
-destination audit { file("/var/log/audit"); };
-destination postgres { file("/var/log/pgsql"); };
-destination freshclam { file("/var/log/freshclam.log"); };
+destination d_kern { file("/var/log/kernel"); };
+destination d_messages { file("/var/log/messages"); };
+destination d_authlog { file("/var/log/secure"); };
+destination d_mail { file("/var/log/maillog"); };
+destination d_uucp { file("/var/log/spooler"); };
+destination d_debug { file("/var/log/debug"); };
+destination d_cron { file("/var/log/cron" owner(root) group(crontab) perm(0660)); };
+destination d_syslog { file("/var/log/syslog"); };
+destination d_daemon { file("/var/log/daemon"); };
+destination d_lpr { file("/var/log/lpr"); };
+destination d_user { file("/var/log/user"); };
+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/pgsql"); };
+destination d_freshclam { file("/var/log/freshclam.log"); };
# Log iptables messages to separate file
-destination iptables { file("/var/log/iptables"); };
+destination d_iptables { file("/var/log/iptables"); };
-destination console { usertty("root"); };
-#destination console_all { file("/dev/tty12"); };
+destination d_console { usertty("root"); };
+#destination d_console_all { file("/dev/tty12"); };
-destination xconsole { pipe("/dev/xconsole"); };
+destination d_xconsole { pipe("/dev/xconsole"); };
-destination newscrit { file("/var/log/news/news.crit" owner(news) group(news)); };
-destination newserr { file("/var/log/news/news.err" owner(news) group(news)); };
-destination newsnotice { file("/var/log/news/news.notice" owner(news) group(news)); };
+destination d_newscrit { file("/var/log/news/news.crit" owner(news) group(news)); };
+destination d_newserr { file("/var/log/news/news.err" owner(news) group(news)); };
+destination d_newsnotice { file("/var/log/news/news.notice" owner(news) group(news)); };
# Filters for standard syslog(3) facilities
#filter f_audit { facility(audit); };
@@ -99,37 +99,37 @@
filter f_postgres { program(postgres); };
filter f_iptables { match("IN=[A-Za-z0-9\.]* OUT=[A-Za-z0-9\.]*"); };
-log { source(s_sys); filter(f_authpriv); destination(authlog); };
-log { source(s_sys); filter(f_cron); destination(cron); };
-log { source(s_sys); filter(f_daemon); destination(daemon); };
-log { source(s_sys); filter(f_ftp); destination(ftp); };
-log { source(s_sys); filter(f_kern); destination(kern); };
-log { source(s_sys); filter(f_lpr); destination(lpr); };
-log { source(s_sys); filter(f_mail); destination(mail); };
-log { source(s_sys); filter(f_news); filter(p_crit); destination(uucp); };
-log { source(s_sys); filter(f_news); filter(p_crit); destination(newscrit); };
-log { source(s_sys); filter(f_news); filter(p_err); destination(newserr); };
-log { source(s_sys); filter(f_news); filter(p_warn); destination(newsnotice); };
-log { source(s_sys); filter(f_news); filter(p_notice); destination(newsnotice); };
-log { source(s_sys); filter(f_news); filter(p_info); destination(newsnotice); };
-log { source(s_sys); filter(f_news); filter(p_debug); destination(newsnotice); };
-log { source(s_sys); filter(f_syslog); destination(syslog); };
-log { source(s_sys); filter(f_user); destination(user); };
-log { source(s_sys); filter(f_uucp); destination(uucp); };
-
-log { source(s_sys); filter(p_debug); destination(debug); };
-
-log { source(s_sys); filter(f_daemon); filter(f_ppp); destination(ppp); };
-log { source(s_sys); filter(f_local6); filter(f_freshclam); destination(freshclam); };
-log { source(s_sys); filter(f_local0); filter(f_postgres); destination(postgres); };
-#log { source(s_sys); filter(f_iptables); destination(iptables); };
+log { source(s_sys); filter(f_authpriv); destination(d_authlog); };
+log { source(s_sys); filter(f_cron); destination(d_cron); };
+log { source(s_sys); filter(f_daemon); destination(d_daemon); };
+log { source(s_sys); filter(f_ftp); destination(d_ftp); };
+log { source(s_sys); filter(f_kern); destination(d_kern); };
+log { source(s_sys); filter(f_lpr); destination(d_lpr); };
+log { source(s_sys); filter(f_mail); destination(d_mail); };
+log { source(s_sys); filter(f_news); filter(p_crit); destination(d_uucp); };
+log { source(s_sys); filter(f_news); filter(p_crit); destination(d_newscrit); };
+log { source(s_sys); filter(f_news); filter(p_err); destination(d_newserr); };
+log { source(s_sys); filter(f_news); filter(p_warn); destination(d_newsnotice); };
+log { source(s_sys); filter(f_news); filter(p_notice); destination(d_newsnotice); };
+log { source(s_sys); filter(f_news); filter(p_info); destination(d_newsnotice); };
+log { source(s_sys); filter(f_news); filter(p_debug); destination(d_newsnotice); };
+log { source(s_sys); filter(f_syslog); destination(d_syslog); };
+log { source(s_sys); filter(f_user); destination(d_user); };
+log { source(s_sys); filter(f_uucp); destination(d_uucp); };
+
+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(f_iptables); destination(d_iptables); };
-log { source(s_sys); filter(p_emergency); destination(console); };
-#log { source(s_sys); destination(console_all); };
+log { source(s_sys); filter(p_emergency); destination(d_console); };
+#log { source(s_sys); destination(d_console_all); };
# This is a catchall statement, and should catch all messages which were not
# accepted any of the previous statements.
-log { source(s_sys); destination(messages); flags(fallback); };
+log { source(s_sys); destination(d_messages); flags(fallback); };
# Network syslogging
-#log { source(s_sys); destination(loghost); };
+#log { source(s_sys); destination(d_loghost); };
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/syslog-ng.conf?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list