diff options
-rw-r--r-- | sos/plugins/general.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/plugins/general.py b/sos/plugins/general.py index c78e409c..c3549060 100644 --- a/sos/plugins/general.py +++ b/sos/plugins/general.py @@ -56,6 +56,13 @@ class general(sos.plugintools.PluginBase): for i in logs: if not os.path.isfile(i): continue self.addCopySpec(i) + + if rhelver == 6: + logs=self.doRegexFindAll(r"^\S+\s+(\/.*log.*)\s+$", "/etc/rsyslog.conf") + for i in logs: + if not os.path.isfile(i): continue + self.addCopySpec(i) + return def postproc(self): |