aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/sos/plugins/general.py1
-rw-r--r--src/lib/sos/plugins/rhn.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/sos/plugins/general.py b/src/lib/sos/plugins/general.py
index bd0a4710..43032a7f 100644
--- a/src/lib/sos/plugins/general.py
+++ b/src/lib/sos/plugins/general.py
@@ -39,6 +39,7 @@ class general(sos.plugintools.PluginBase):
self.addCopySpec("/var/log/secure")
self.addCopySpecLimit("/var/log/secure.*", sizelimit = self.getOption("syslogsize"))
self.addCopySpec("/var/log/sa")
+ self.addCopySpec("/var/log/pm/suspend.log")
self.addCopySpec("/var/log/up2date")
self.addCopySpec("/etc/exports")
self.collectExtOutput("/bin/hostname", root_symlink = "hostname")
diff --git a/src/lib/sos/plugins/rhn.py b/src/lib/sos/plugins/rhn.py
index aa5c9d22..effd4c94 100644
--- a/src/lib/sos/plugins/rhn.py
+++ b/src/lib/sos/plugins/rhn.py
@@ -45,7 +45,8 @@ class rhn(sos.plugintools.PluginBase):
self.addCopySpec("/etc/httpd/conf*")
self.addCopySpec("/etc/rhn")
self.addCopySpec("/etc/sysconfig/rhn")
- self.addCopySpec("/var/log/httpd") # httpd-logs
+ if self.getOption("log"):
+ self.addCopySpec("/var/log/httpd") # httpd-logs
self.addCopySpec("/var/log/rhn*") # rhn-logs
# all these used to go in $DIR/mon-logs/