[leaf-commits] src/bering-uclibc4/source/etc syslog-ng.conf, 1.3, 1.4

Andrew <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.