Created
January 19, 2011 19:01
-
-
Save cparedes/786640 to your computer and use it in GitHub Desktop.
Relevant portions of the syslog-ng.conf file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
source s_sys { | |
file ("/proc/kmsg" log_prefix("kernel: ")); | |
unix-stream ("/dev/log"); | |
internal(); | |
# udp(ip(0.0.0.0) port(514)); | |
}; | |
... | |
destination d_chef { file("/var/log/chef.log"); }; | |
... | |
filter f_chef { program("chef*"); }; | |
... | |
log { source(s_sys); filter(f_chef); destination(d_chef); }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment