X-Git-Url: https://git.tld-linux.org/?p=packages%2Fsyslog-ng.git;a=blobdiff_plain;f=syslog-ng.conf;h=1b5843a110ad21f667ca8349d98d41a112141dcf;hp=d71993c2fc281ae6985a8c12501bc135dd376acf;hb=39261fbb5903f57b19fae2257ee756ac6c123753;hpb=0b47fab1b64b82651fa62b7008b4a36f95272a88 diff --git a/syslog-ng.conf b/syslog-ng.conf index d71993c..1b5843a 100644 --- a/syslog-ng.conf +++ b/syslog-ng.conf @@ -1,7 +1,7 @@ -@version: 3.6 +@version: 3.12 @include "scl.conf" # -# Syslog-ng configuration for TLD Linux +# Syslog-ng configuration for PLD Linux # # See syslog-ng(8) and syslog-ng.conf(5) for more information. # @@ -23,6 +23,10 @@ options { }; 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(); }; @@ -30,6 +34,7 @@ source s_sys { # 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"); };