From 76357646f0c9ac0dfc5279f1962fdf0bba079552 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 5 Feb 2023 11:10:41 +0900 Subject: [PATCH] Add `rsyslog` file for `digdag`. --- cookbooks/digdag/files/etc/rsyslog.d/30-digdag.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cookbooks/digdag/files/etc/rsyslog.d/30-digdag.conf diff --git a/cookbooks/digdag/files/etc/rsyslog.d/30-digdag.conf b/cookbooks/digdag/files/etc/rsyslog.d/30-digdag.conf new file mode 100644 index 0000000..0a19250 --- /dev/null +++ b/cookbooks/digdag/files/etc/rsyslog.d/30-digdag.conf @@ -0,0 +1,7 @@ +# Log kernel generated digdag log messages to file +:syslogtag,contains,"digdag.sh" /var/log/digdag.log + +# Uncomment the following to stop logging anything that matches the last rule. +# Doing this will stop logging kernel generated UFW log messages to the file +# normally containing kern.* messages (eg, /var/log/kern.log) +& stop