diff options
-rw-r--r-- | sos/plugins/logs.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py index bdf92067..7e7545f1 100644 --- a/sos/plugins/logs.py +++ b/sos/plugins/logs.py @@ -38,14 +38,11 @@ class Logs(Plugin): self.add_copy_spec_limit("/var/log/boot*", sizelimit = self.limit) if self.get_option('all_logs'): - print( "doing all_logs...") logs = self.do_regex_find_all("^\S+\s+(-?\/.*$)\s+", "/etc/syslog.conf") - print(logs) if self.policy().pkg_by_name("rsyslog") \ or os.path.exists("/etc/rsyslog.conf"): logs += self.do_regex_find_all("^\S+\s+(-?\/.*$)\s+", "/etc/rsyslog.conf") - print(logs) for i in logs: if i.startswith("-"): i = i[1:] |