diff --git a/cookbooks/consul-template/files/etc/rsyslog.d/30-consul-template.conf b/cookbooks/consul-template/files/etc/rsyslog.d/30-consul-template.conf index 1a4c6cc..ccb44e2 100644 --- a/cookbooks/consul-template/files/etc/rsyslog.d/30-consul-template.conf +++ b/cookbooks/consul-template/files/etc/rsyslog.d/30-consul-template.conf @@ -1,4 +1,4 @@ -# Log kernel generated promtail log messages to file +# Log kernel generated `consul-template` log messages to file :syslogtag,contains,"consul-template" /var/log/consul-template.log # Uncomment the following to stop logging anything that matches the last rule. diff --git a/cookbooks/digdag/files/lib/systemd/system/promtail-digdag.service b/cookbooks/digdag/files/lib/systemd/system/promtail-digdag.service deleted file mode 100644 index ca950d4..0000000 --- a/cookbooks/digdag/files/lib/systemd/system/promtail-digdag.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Grafana Promtail (Digdag) -Documentation=https://github.com/grafana/loki -After=network-online.target - -[Service] -User=root -Restart=always -ExecStart=/usr/local/bin/promtail --config.file=/etc/promtail/digdag.yaml - -[Install] -WantedBy=multi-user.target