summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-11 16:16:49 +0100
committerGitHub <noreply@github.com>2024-01-11 16:16:49 +0100
commitf5b19352a4bc641fe773c09ec84a361404881458 (patch)
treef82a9ad97d4669980fadb4b1e98e50edf97f2383
parentf410cb25fbf4f93ff2470eace5c10de34e1327bb (diff)
parent800c85a20a00278ab07bbcccd85b753b1ca31e21 (diff)
downloadvyos-1x-f5b19352a4bc641fe773c09ec84a361404881458.tar.gz
vyos-1x-f5b19352a4bc641fe773c09ec84a361404881458.zip
Merge pull request #2797 from c-po/syslog-t1487
syslog: T1487: store all journald log files also in syslog
-rw-r--r--data/templates/rsyslog/rsyslog.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/rsyslog/rsyslog.conf.j2 b/data/templates/rsyslog/rsyslog.conf.j2
index 97e0ee0b7..96f91def1 100644
--- a/data/templates/rsyslog/rsyslog.conf.j2
+++ b/data/templates/rsyslog/rsyslog.conf.j2
@@ -1,5 +1,9 @@
### Autogenerated by system_syslog.py ###
+# Load journald logs to rsyslog
+module(load="imjournal")
+module(load="mmjsonparse")
+
{% if global.marker is vyos_defined %}
$ModLoad immark
{% if global.marker.interval is vyos_defined %}