Magellan Linux

Diff of /trunk/syslog-ng/syslog-ng.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 153 by niro, Tue May 8 20:52:56 2007 UTC revision 910 by niro, Wed Oct 28 00:40:32 2009 UTC
# Line 1  Line 1 
1    @version: 3.0
2  #  #
3  # Syslog-ng configuration file  # Syslog-ng configuration file
4  #  #
5    
6  # Global options:  # Global options:
7    
8  options { sync(0);  options { flush_lines(0);
9   time_reopen(10);   time_reopen(10);
10   log_fifo_size(1000);   log_fifo_size(1000);
11   long_hostnames(off);   long_hostnames(off);
# Line 23  options { sync(0); Line 24  options { sync(0);
24    
25  source src { unix-stream("/dev/log");  source src { unix-stream("/dev/log");
26   internal();   internal();
27   pipe("/proc/kmsg");   file("/proc/kmsg");
28   };   };
29    
30  # If you wish to get logs from remote machine you should uncomment  # If you wish to get logs from remote machine you should uncomment
# Line 37  source src { unix-stream("/dev/log"); Line 38  source src { unix-stream("/dev/log");
38    
39  # standart logfiles  # standart logfiles
40  destination auth { file("/var/log/auth.log"); };  destination auth { file("/var/log/auth.log"); };
 destination syslog { file("/var/log/syslog"); };  
41  destination cron { file("/var/log/cron.log"); };  destination cron { file("/var/log/cron.log"); };
42  destination daemon { file("/var/log/daemon.log"); };  destination daemon { file("/var/log/daemon.log"); };
43  destination kern { file("/var/log/kern.log"); };  destination kern { file("/var/log/kern.log"); };
# Line 98  filter f_error { level(err .. emerg); } Line 98  filter f_error { level(err .. emerg); }
98  # Log pathes:  # Log pathes:
99    
100  log { source(src); filter(f_authpriv); destination(auth); };  log { source(src); filter(f_authpriv); destination(auth); };
 log { source(src); filter(f_syslog); destination(syslog); };  
101  log { source(src); filter(f_cron); destination(cron); };  log { source(src); filter(f_cron); destination(cron); };
102  log { source(src); filter(f_daemon); destination(daemon); };  log { source(src); filter(f_daemon); destination(daemon); };
103  log { source(src); filter(f_kern); destination(kern); };  log { source(src); filter(f_kern); destination(kern); };

Legend:
Removed from v.153  
changed lines
  Added in v.910