]> git.pld-linux.org Git - packages/syslog-ng.git/blobdiff - syslog-ng-simple.conf
- separated -module-tfgeoip
[packages/syslog-ng.git] / syslog-ng-simple.conf
index 0f4ea926a05016e44950c30d25ecfe731158b125..34491ce74b0b725fb37b9c4faea6afb987fc31e1 100644 (file)
@@ -19,14 +19,17 @@ options {
        stats_freq(43200);
 };
 
-source s_kernel { file ("/proc/kmsg" program_override("kernel")); };
+source s_kernel { file ("/proc/kmsg" program_override("kernel")); };
 source s_src    { unix-stream("/dev/log"); internal(); };
+# if using systemd, comment out the line above, and uncomment line below
+#source s_src  { unix-dgram("/run/systemd/journal/syslog"); internal(); };
 
 destination d_mail        { file("/var/log/maillog"); };
 destination d_messages    { file("/var/log/messages"); };
 destination d_kernel      { file("/var/log/kernel"); };
 destination d_console_all { file("/dev/tty12"); };
 
+filter f_kern             { facility(kern); };
 filter f_mail             { facility(mail); };
 
 log { source(s_kernel); destination(d_kernel); };
This page took 0.195947 seconds and 4 git commands to generate.