[packages/syslog-ng] note that /dev/log link may need manual fixing
glen
glen at pld-linux.org
Fri Sep 11 13:24:27 CEST 2015
commit 3718169383b5759349c86af1b1f671203aad979d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Sep 11 14:24:22 2015 +0300
note that /dev/log link may need manual fixing
syslog-ng-simple.conf | 4 ++++
syslog-ng.conf | 6 +++++-
2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/syslog-ng-simple.conf b/syslog-ng-simple.conf
index afd2064..357b502 100644
--- a/syslog-ng-simple.conf
+++ b/syslog-ng-simple.conf
@@ -23,9 +23,13 @@ options {
source s_sys {
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");
+# NOTE: if you are running under systemd and fixed config then you may need to manually fix /dev/log symlink:
+# ln -s /run/systemd/journal/dev-log /dev/log
+#
internal();
};
diff --git a/syslog-ng.conf b/syslog-ng.conf
index 2b5f6c9..5936c16 100644
--- a/syslog-ng.conf
+++ b/syslog-ng.conf
@@ -22,7 +22,11 @@ options {
threaded(yes);
};
-source s_sys {
+source s_sys {
+# NOTE:
+# if you are running under systemd and just merged config then you may
+# need to manually fix /dev/log symlink:
+# # ln -s /run/systemd/journal/dev-log /dev/log
system();
internal();
};
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/syslog-ng.git/commitdiff/3718169383b5759349c86af1b1f671203aad979d
More information about the pld-cvs-commit
mailing list