Skip to content

Commit

Permalink
mantle/platform/qemu: drop json formatting from journal output
Browse files Browse the repository at this point in the history
In my experience the value of this has been little to none. It
mostly just forces us to filter this output through jq -r .MESSAGE

Let's make it just output text like the non-testiso journal.txt files
are today.
  • Loading branch information
dustymabe committed May 7, 2024
1 parent 862c4a0 commit 7b07ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mantle/platform/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -1645,7 +1645,7 @@ func (builder *QemuBuilder) VirtioJournal(config *conf.Conf, queryArguments stri
StandardOutput=file:/dev/virtio-ports/mantlejournal
# Wrap in /bin/bash to hack around SELinux
# https://bugzilla.redhat.com/show_bug.cgi?id=1942198
ExecStart=/usr/bin/bash -c "journalctl -q -b -f -o json --no-tail %s"
ExecStart=/usr/bin/bash -c "journalctl -q -b -f --no-tail %s"
[Install]
RequiredBy=basic.target
`, queryArguments)
Expand Down

0 comments on commit 7b07ffe

Please sign in to comment.