aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanne Raymaekers <sanne.raymaekers@gmail.com>2022-09-30 16:43:43 +0200
committerJake Hunsaker <jhunsake@redhat.com>2022-10-04 11:20:40 -0400
commit01fa75f0ebe812e0dd85ffa7f4e1b94cb54165e4 (patch)
treed004de3a0b29159c961ba25318a68965866258ac
parentd18b8c8d3e97000e8a334049d0bcb68e72c7bf98 (diff)
downloadsos-01fa75f0ebe812e0dd85ffa7f4e1b94cb54165e4.tar.gz
[composer] Add logs of composer related units to report
Adds the journals of the composer and local worker services. Signed-off-by: Sanne Raymaekers <sanne.raymaekers@gmail.com>
-rw-r--r--sos/report/plugins/composer.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/report/plugins/composer.py b/sos/report/plugins/composer.py
index 687af9e0..f7c08abf 100644
--- a/sos/report/plugins/composer.py
+++ b/sos/report/plugins/composer.py
@@ -55,4 +55,9 @@ class Composer(Plugin, IndependentPlugin):
"composer-cli compose log %s" % compose.split(" ")[0]
)
+ self.add_journal(units=[
+ "osbuild-composer.service",
+ "osbuild-worker@*.service",
+ ])
+
# vim: set et ts=4 sw=4 :