diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-04-30 17:03:37 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-04-30 17:03:37 +0100 |
commit | ac0d549cce821b2d01d5c2aa1442b30f858e4d17 (patch) | |
tree | 319ad8b62241d04498d9b916774c3e3e55411906 | |
parent | d8f121a19a2ed49f6dd6be6162602b5f9004208e (diff) | |
download | sos-ac0d549cce821b2d01d5c2aa1442b30f858e4d17.tar.gz |
[logs] collect boot journals with message catalogs
Related: #1216
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/logs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py index eaa4823e..6f91bbb9 100644 --- a/sos/plugins/logs.py +++ b/sos/plugins/logs.py @@ -34,9 +34,9 @@ class Logs(Plugin): else self.get_option("log_size")) self.add_copy_spec("/var/log/boot.log", sizelimit=self.limit) self.add_copy_spec("/var/log/cloud-init*", sizelimit=self.limit) - self.add_journal(boot="this") + self.add_journal(boot="this", catalog=True) self.add_journal(boot="this", allfields=True, output="verbose") - self.add_journal(boot="last") + self.add_journal(boot="last", catalog=True) self.add_journal(boot="last", allfields=True, output="verbose") self.add_cmd_output("journalctl --disk-usage") |