Last change
on this file since 2195 was
1969,
checked in by achernya, 13 years ago
|
Initial version of scripts-syslog-ng-config
scripts-syslog-ng-config provides zephyr logging support for
scripts VM hosts.
|
File size:
350 bytes
|
Rev | Line | |
---|
[1969] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | cat |
---|
| 4 | cat <<EOF |
---|
| 5 | |
---|
| 6 | # Zephyr to scripts |
---|
| 7 | destination d_zroot { program("/usr/lib/scripts-syslog-ng-config/d_zroot.pl"); }; |
---|
| 8 | filter f_oom { facility(kern) and (message("Out of memory:") or message("Killed process")); }; |
---|
| 9 | log { source(s_src); filter(f_auth); destination(d_zroot); }; |
---|
| 10 | log { source(s_src); filter(f_oom); destination(d_zroot); }; |
---|
| 11 | EOF |
---|
Note: See
TracBrowser
for help on using the repository browser.