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