]> git.pld-linux.org Git - packages/syslog-ng.git/blobdiff - syslog-ng.conf
- package remaining files:
[packages/syslog-ng.git] / syslog-ng.conf
index 613698a55163abe42b6618df3ab0281b890f48f0..b56f628222afd688101922ca931203386d5f01a3 100644 (file)
@@ -1,4 +1,4 @@
-@version: 3.0
+@version: 3.5
 #
 # Syslog-ng configuration for PLD Linux
 #
@@ -18,18 +18,22 @@ options {
        time_reopen(10);
        time_reap(360);
        mark_freq(600);
-       log_fifo_size(2048);
+       threaded(yes);
 };
 
 source s_sys   {
-       pipe ("/proc/kmsg" program_override("kernel"));
-       unix-stream("/dev/log" max-connections(1000));
+       file ("/proc/kmsg" program_override("kernel"));
+       unix-stream("/dev/log" max-connections(1000) log_iw_size(100000));
+# if using systemd, comment out the line above, and uncomment line below
+#      unix-dgram("/run/systemd/journal/syslog");
+# and add ForwardToSyslog=yes to /etc/systemd/journald.conf
        internal();
 };
 
 # uncomment the line below if you want to setup syslog server
 #source s_net  { udp(); };
 
+# if using systemd, an IP address instead of name may be required here
 #destination d_loghost { udp("loghost" port(514)); };
 
 destination d_kern     { file("/var/log/kernel"); };
This page took 0.091369 seconds and 4 git commands to generate.