a493093b35ff5709d23d1f17d5fcd2eaea218b68
[pti/rtp.git] / meta-stx / recipes-core / stx-config-files / files / syslog-ng-conf-fix-the-source.patch
1 From 466367eb5ebc4ea1b9b1457d496834c57ed1dd66 Mon Sep 17 00:00:00 2001
2 From: Jackie Huang <jackie.huang@windriver.com>
3 Date: Thu, 26 Mar 2020 23:41:59 +0800
4 Subject: [PATCH] syslog-ng.conf: fix the source
5
6 ERROR: Using /dev/log Unix socket with systemd is not possible.
7
8 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
9 ---
10  syslog-ng-config/files/syslog-ng.conf | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/syslog-ng-config/files/syslog-ng.conf b/syslog-ng-config/files/syslog-ng.conf
14 index b1bab2c..1e06c02 100644
15 --- a/syslog-ng-config/files/syslog-ng.conf
16 +++ b/syslog-ng-config/files/syslog-ng.conf
17 @@ -62,7 +62,7 @@ options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no);
18  # This is the default behavior of sysklogd package
19  # Logs may come from unix stream, but not from another machine.
20  #
21 -source s_src { unix-dgram("/dev/log"   ); internal();
22 +source s_src { systemd_journal(); internal();
23                 file("/proc/kmsg" program_override("kernel")   );
24  };
25  
26 -- 
27 2.7.4
28