Update of /cvsroot/leaf/src/bering-uclibc4/source/etc
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv7992
Modified Files:
syslog-ng.conf
Log Message:
Added separate file for logging ppp/pptp messages
Index: syslog-ng.conf
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/source/etc/syslog-ng.conf,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** syslog-ng.conf 17 Aug 2010 17:31:11 -0000 1.3
--- syslog-ng.conf 17 Aug 2010 17:46:53 -0000 1.4
***************
*** 98,101 ****
--- 98,102 ----
destination df_user { file("/var/log/user.log"); };
destination df_uucp { file("/var/log/uucp.log"); };
+ destination df_ppp { file("/var/log/ppp.log"); };
# these files are meant for the mail system log files
***************
*** 147,150 ****
--- 148,154 ----
filter f_uucp { facility(uucp); };
+ #filter for ppp/pptp
+ filter f_ppp { program(ppp) or program(pptp) or program(pptpd); };
+
# some filters to select messages of priority greater or equal to info, warn,
# and err
***************
*** 342,343 ****
--- 346,354 ----
#};
+
+ log {
+ source(s_all);
+ filter(f_ppp);
+ destination(df_ppp);
+ };
+
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits