Created
March 27, 2015 12:57
-
-
Save magwas/8505c913c6be2bbb4651 to your computer and use it in GitHub Desktop.
syslog-ng conf
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
@version: 3.5 | |
@include "scl.conf" | |
# First, set some global options. | |
options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no); | |
owner("root"); group("adm"); perm(0640); stats_freq(0); | |
bad_hostname("^gconfd$"); | |
}; | |
source s_src { | |
system(); | |
internal(); | |
}; | |
source s_net { udp(ip(127.0.0.1) port(514)); }; | |
destination d_messages { file("/var/log/messages"); }; | |
destination d_xconsole { pipe("/dev/xconsole"); }; | |
log { source(s_src); source(s_net); destination(d_messages); }; | |
log { source(s_src); source(s_net); destination(d_xconsole); }; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment