diff options
author | Michael Johnson <johnsomor@gmail.com> | 2022-05-11 17:54:40 +0000 |
---|---|---|
committer | Michael Johnson <johnsomor@gmail.com> | 2022-05-11 20:23:15 +0000 |
commit | 1fd240f81b6850cb6db5eea91f7a91decf962757 (patch) | |
tree | 020842a2f13e92988293e6043e3f45af6a9ae290 /roles | |
parent | 4b516eaccc782c328f7e7bb9d65a7511515e44ef (diff) | |
download | designate-1fd240f81b6850cb6db5eea91f7a91decf962757.tar.gz |
Fix BIND9 log collection
Currently the bind logs are not viewable in the zuul logs page, they prompt
for download. The wrong systemd unit logs are being exported and they were being double gziped. This patch corrects both of those issues such that the BIND9 logs will be properly collected in the zuul jobs.
Change-Id: Ied091e7acd0cb2c837f8ee7335b7881225da0126
Diffstat (limited to 'roles')
-rw-r--r-- | roles/bind-logs-conf/tasks/main.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/bind-logs-conf/tasks/main.yaml b/roles/bind-logs-conf/tasks/main.yaml index 41ba5f57..9fded230 100644 --- a/roles/bind-logs-conf/tasks/main.yaml +++ b/roles/bind-logs-conf/tasks/main.yaml @@ -35,4 +35,4 @@ become: true shell: cmd: | - journalctl -o short-precise --unit bind9 | gzip - > {{ stage_dir }}/logs/bind9.txt.gz + journalctl -o short-precise --unit named > {{ stage_dir }}/logs/bind9.txt |