- Timestamp:
- Aug 20, 2008, 11:51:23 AM (16 years ago)
- Location:
- server/fedora/config/etc/syslog-ng
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
server/fedora/config/etc/syslog-ng/d_zroot.pl
r784 r817 87 87 sendmsg($message." (UNKNOWN KEY)"); 88 88 } 89 } elsif ($message =~ m|^Out of memory:|) { 90 sendmsg($message); 89 91 } elsif ($message =~ m|^Connection closed|) { 90 92 # Do nothing -
server/fedora/config/etc/syslog-ng/syslog-ng.conf
r645 r817 66 66 67 67 destination d_zroot { program("/etc/syslog-ng/d_zroot.pl"); }; 68 #destination d_watch { program("/usr/local/libexec/watch-syslog.py"); }; 68 69 69 70 #filter f_filter1 { facility(kern); }; … … 78 79 filter f_filter8 { facility(cron); }; 79 80 80 filter f_ zroot { facility(authpriv); };81 filter f_oom { facility(kern) and (match("Out of memory:") or match("Killed process")); }; 81 82 82 83 #log { source(s_sys); filter(f_filter1); destination(d_cons); }; … … 89 90 log { source(s_sys); filter(f_filter8); destination(d_cron); }; 90 91 91 log { source(s_sys); filter(f_zroot); destination(d_zroot); }; 92 log { source(s_sys); filter(f_filter3); destination(d_zroot); }; 93 #log { source(s_sys); filter(f_filter2); destination(d_watch); }; 94 log { source(s_sys); filter(f_oom); destination(d_zroot); }; 92 95 93 96 # vim:set ai ts=4 sw=4 sts=4 et:
Note: See TracChangeset
for help on using the changeset viewer.