aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArif Ali <arif.ali@canonical.com>2023-05-03 17:48:14 +0100
committerJake Hunsaker <jhunsake@redhat.com>2023-05-03 14:43:36 -0400
commit15bc1b60a1ad9b63ca4b5002c835c53ef0b60042 (patch)
tree578f70012aeac8eb9cddc6fc5f6f8357034fcd57
parentbbbddf106afd4b91cbe18b51a7b9c20bf1f565f1 (diff)
downloadsos-15bc1b60a1ad9b63ca4b5002c835c53ef0b60042.tar.gz
[apport] Collect /var/crash if all-logs has been requested
Signed-off-by: Arif Ali <arif.ali@canonical.com>
-rw-r--r--sos/report/plugins/apport.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/report/plugins/apport.py b/sos/report/plugins/apport.py
index 53f805ad..b908ab51 100644
--- a/sos/report/plugins/apport.py
+++ b/sos/report/plugins/apport.py
@@ -26,6 +26,7 @@ class Apport(Plugin, DebianPlugin, UbuntuPlugin):
])
else:
self.add_copy_spec("/var/log/apport*")
+ self.add_copy_spec("/var/crash/**")
self.add_copy_spec("/etc/apport/*")
self.add_copy_spec("/var/lib/whoopsie/whoopsie-id")
self.add_cmd_output(