From f196d4b720a9426b1756a948e4ec80d858920c38 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 31 Mar 2024 20:41:14 +0900 Subject: [PATCH 1/2] Delete `promtail` config for `digdag`. --- .../files/lib/systemd/system/promtail-digdag.service | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 cookbooks/digdag/files/lib/systemd/system/promtail-digdag.service 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 From c52b3dc242554515335022964965a2c5f0a13c97 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Mon, 1 Apr 2024 17:01:37 +0900 Subject: [PATCH 2/2] Delete the word `promtail`. --- .../consul-template/files/etc/rsyslog.d/30-consul-template.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.