From d1e34d020522581a3eeda9fa8032dfde86f2f516 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Wed, 11 May 2022 21:27:23 +0000 Subject: [PATCH] Stop double compressing pdns logs This patch changes the powerDNS log collection to stop double compressing the log archive. The designate role compressed the log file and the zuul role also compresses the file. This will allow the powerDNS logs to be directly viewable via the zuul logs page. Change-Id: Ic86b8637e00525037b1c7735f9909d83397593a2 --- roles/pdns4-logs-conf/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/pdns4-logs-conf/tasks/main.yaml b/roles/pdns4-logs-conf/tasks/main.yaml index f0d5fa52f..716274d32 100644 --- a/roles/pdns4-logs-conf/tasks/main.yaml +++ b/roles/pdns4-logs-conf/tasks/main.yaml @@ -35,4 +35,4 @@ become: true shell: cmd: | - journalctl -o short-precise --unit pdns | gzip - > {{ stage_dir }}/logs/pdns.txt.gz + journalctl -o short-precise --unit pdns > {{ stage_dir }}/logs/pdns.txt.gz