~vorlon/ubuntu/saucy/apport/attach-upstart-userjob-logs

« back to all changes in this revision

Viewing changes to data/general-hooks/ubuntu.py

  • Committer: Steve Langasek
  • Date: 2013-04-26 22:45:35 UTC
  • Revision ID: steve.langasek@canonical.com-20130426224535-54a2sbv1zeoqwkux
apport/hookutils.py, data/general-hooks/ubuntu.py: add a new hook,
attach_upstart_logs, that will attach the logs for any upstart user
jobs shipped by the binary package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        package = report['Package'].split()[0]
100
100
        if package:
101
101
            apport.hookutils.attach_upstart_overrides(report, package)
 
102
            apport.hookutils.attach_upstart_logs(report, package)
102
103
 
103
104
    # build a duplicate signature tag for package reports
104
105
    if report.get('ProblemType') == 'Package':