You might look at the apport package hook as gathers information about
/var/crash.
/usr/share/apport/package-hooks/source_apport.py
...
def add_info(report):
apport.hookutils.attach_file_if_exists(report, APPORT_LOG, 'ApportLog')
reports = glob('/var/crash/*')
if reports:
report['CrashReports'] = apport.hookutils.command_output(
['stat', '-c', '%a:%u:%g:%s:%y:%x:%n'] + reports)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1319160
Title:
Collect /var/crash info or the users personal crash key
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1319160/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs