aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2021-01-15 16:44:46 +0530
committerJake Hunsaker <jhunsake@redhat.com>2021-01-25 11:42:57 -0500
commit86708fccccf44d9dd57a5d45cb11d06bac895b72 (patch)
tree4990e2b350277397b1dc1001a117737a3f099595
parentaca8bd83117e177f2beac6b9434d36d446a7de64 (diff)
downloadsos-86708fccccf44d9dd57a5d45cb11d06bac895b72.tar.gz
[powerpc] Collect opal-prd log files
Recent distros redirecting opal-prd logs to /var/log/opal-prd.log file. Resolves: #2377 Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/powerpc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/report/plugins/powerpc.py b/sos/report/plugins/powerpc.py
index d29eb0a6..8c6af629 100644
--- a/sos/report/plugins/powerpc.py
+++ b/sos/report/plugins/powerpc.py
@@ -84,7 +84,8 @@ class PowerPC(Plugin, IndependentPlugin):
"/proc/ppc64/topology_updates",
"/sys/firmware/opal/msglog",
"/var/log/opal-elog/",
- "/var/log/opal-prd"
+ "/var/log/opal-prd",
+ "/var/log/opal-prd.log*"
])
if os.path.isdir("/var/log/dump"):
self.add_cmd_output("ls -l /var/log/dump")