The functionality previously added here was broken as it did not include
a required newline. Rather than fix it, modify the whole thing to print
to logs instead of a temporary file. This should achieve the same effect
with less side effects.
Change-Id: I74d11a54d57d30aab7f97f4fcce9fee0b7d87cbc
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Closes-Bug: #1782316