From 7bc90f618f0549279544d26effae2e5197d85e2b Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Fri, 23 Feb 2018 22:43:05 +0100 Subject: [logs] collect journalctl verbosed logs with --all-logs only Resolves: #1225 Signed-off-by: Pavel Moravec --- sos/plugins/logs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py index 6f91bbb9..c5e239b3 100644 --- a/sos/plugins/logs.py +++ b/sos/plugins/logs.py @@ -61,6 +61,9 @@ class Logs(Plugin): if os.path.isfile(i): self.add_copy_spec(i, sizelimit=self.limit) + if self.get_option('all_logs'): + self.add_journal(boot="this", allfields=True, output="verbose") + def postproc(self): self.do_path_regex_sub( r"/etc/rsyslog*", -- cgit