From f7f7ccd97b0a855bd35239a8b91fa180c3ab3939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adri=C3=A1n=20Robotka?= <robotka.adrian@gmail.com>
Date: Sun, 2 Aug 2020 18:57:52 +0200
Subject: [PATCH] change to s_local_journald

---
 syslog-collector-installer.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/syslog-collector-installer.sh b/syslog-collector-installer.sh
index a21dd99..90f0677 100755
--- a/syslog-collector-installer.sh
+++ b/syslog-collector-installer.sh
@@ -89,7 +89,7 @@ options {
 # Logs may come from unix stream, but not from another machine.
 #
 
-source s_local {
+source s_local_journald {
    systemd-journal();
    internal();
 };
@@ -158,15 +158,15 @@ filter f_auth { facility(auth); };
 ########################
 
 # Local console
-log { source(s_local); filter(f_console); destination(d_console_all); };
-log { source(s_local); filter(f_crit); destination(d_console); };
+log { source(s_local_journald); filter(f_console); destination(d_console_all); };
+log { source(s_local_journald); filter(f_crit); destination(d_console); };
 
 # make auth.log
-log { source(s_local); filter(f_auth); destination(d_authlog); };
+log { source(s_local_journald); filter(f_auth); destination(d_authlog); };
 
 # Remote log collector (KSZK)
 log {
-    source(s_local);
+    source(s_local_journald);
     source(s_local_net);
 #    filter(f_no_sensitive);
     destination(d_kszk_log_collector);
-- 
GitLab