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
This commit is contained in:
parent
4b516eaccc
commit
1fd240f81b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue