Update of /cvsroot/leaf/src/bering-uclibc4/source/etc
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv15408
Modified Files:
syslog-ng.conf
Log Message:
see http://sourceforge.net/apps/trac/leaf/ticket/10#comment:4
Index: syslog-ng.conf
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/etc/syslog-ng.conf,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** syslog-ng.conf 5 Jan 2011 23:14:40 -0000 1.7
--- syslog-ng.conf 6 Jan 2011 16:41:20 -0000 1.8
***************
*** 65,70 ****
#log_msg_size(2048);
! # STATS interval
! stats (10800);
};
--- 65,70 ----
#log_msg_size(2048);
! # STATS interval
! stats (10800);
};
***************
*** 100,104 ****
destination df_mail { file("/var/log/mail.log"); };
destination df_user { file("/var/log/user.log"); };
- destination df_uucp { file("/var/log/uucp.log"); };
destination df_ppp { file("/var/log/ppp.log"); };
--- 100,103 ----
***************
*** 126,133 ****
destination df_messages { file("/var/log/messages"); };
- # pipes
- # a console to view log messages under X
- #destination dp_xconsole { pipe("/dev/xconsole"); };
-
# consoles
# this will send messages to everyone logged in
--- 125,128 ----
***************
*** 141,149 ****
filter f_auth { facility(auth, authpriv); };
! # all messages except from the auth and authpriv facilities
! filter f_syslog { not facility(auth, authpriv); };
! # respectively: messages from the cron, daemon, kern, lpr, mail, news, user,
! # and uucp facilities
filter f_cron { facility(cron); };
filter f_daemon { facility(daemon); };
--- 136,144 ----
filter f_auth { facility(auth, authpriv); };
! # all messages except from the cron, daemon, auth and authpriv facilities
! filter f_syslog { not facility(auth, authpriv, cron, daemon); };
! # respectively: messages from the cron, daemon, kern, lpr, mail, news, and
! # user facilities
filter f_cron { facility(cron); };
filter f_daemon { facility(daemon); };
***************
*** 153,157 ****
filter f_news { facility(news); };
filter f_user { facility(user); };
- filter f_uucp { facility(uucp); };
#filter for ppp/pptp
--- 148,151 ----
***************
*** 181,192 ****
filter f_emerg { level(emerg); };
- # complex filter for messages usually sent to the xconsole
- filter f_xconsole {
- facility(daemon,mail)
- or level(debug,info,notice,warn)
- or (facility(news)
- and level(crit,err,notice));
- };
-
# filters for Shorewall and Shorewall6 iptables logs
# check for IPv4-style SRC address e.g. SRC=192.
--- 175,178 ----
***************
*** 195,199 ****
filter f_shorewall6 { match("Shorewall:.*SRC=[[:xdigit:]]*:"); };
-
######
# logs
--- 181,184 ----
***************
*** 217,236 ****
};
!
! # these rules provide the same behavior as the commented original syslogd
rules
!
! # auth,authpriv.* /var/log/auth.log
log {
source(s_all);
! filter(f_auth);
! destination(df_auth);
};
! # *.*;auth,authpriv.none -/var/log/syslog
log {
source(s_all);
! filter(f_syslog);
! filter(f_at_least_info);
! destination(df_syslog);
};
--- 202,220 ----
};
! # log ppp messages to /var/log/ppp.log
! # stop -> do not log to syslog as well
log {
source(s_all);
! filter(f_ppp);
! destination(df_ppp);
! flags(final);
};
! # auth,authpriv.* /var/log/auth.log
log {
source(s_all);
! filter(f_auth);
! destination(df_auth);
! flags(final);
};
***************
*** 252,255 ****
--- 236,247 ----
};
+ # *.*;auth,authpriv.none -/var/log/syslog
+ log {
+ source(s_all);
+ filter(f_syslog);
+ filter(f_at_least_info);
+ destination(df_syslog);
+ };
+
# kern.* -/var/log/kern.log
log {
***************
*** 281,291 ****
};
- # uucp.* /var/log/uucp.log
- log {
- source(s_all);
- filter(f_uucp);
- destination(df_uucp);
- };
-
# mail.info -/var/log/mail.info
log {
--- 273,276 ----
***************
*** 356,383 ****
destination(df_messages);
};
-
- # *.emerg *
- #log {
- # source(s_all);
- # filter(f_emerg);
- # destination(du_all);
- #};
-
-
- # daemon.*;mail.*;\
- # news.crit;news.err;news.notice;\
- # *.=debug;*.=info;\
- # *.=notice;*.=warn |/dev/xconsole
- #log {
- # source(s_all);
- # filter(f_xconsole);
- # destination(dp_xconsole);
- #};
-
-
- log {
- source(s_all);
- filter(f_ppp);
- destination(df_ppp);
- };
-
--- 341,342 ----
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits