Deploy `rsyslog` config for `loki` logs.

This commit is contained in:
Kazuhiro MUSASHI 2020-10-12 18:08:58 +09:00
parent d6c76791b6
commit 9aa481fa56
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# Log kernel generated promtail log messages to file
:syslogtag,contains,"loki" /var/log/loki.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