aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/logs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py
index 7957898e..70ef5373 100644
--- a/sos/plugins/logs.py
+++ b/sos/plugins/logs.py
@@ -42,6 +42,7 @@ class Logs(Plugin):
logs = self.do_regex_find_all("^\S+\s+(-?\/.*$)\s+", syslog_conf)
if self.is_installed("rsyslog") \
or os.path.exists("/etc/rsyslog.conf"):
+ rsyslog_conf = self.join_sysroot("/etc/rsyslog.conf")
logs += self.do_regex_find_all("^\S+\s+(-?\/.*$)\s+",
rsyslog_conf)
for i in logs: