Merge lp:~ted/apport/enable-debug into lp:~apport-hackers/apport/trunk
Proposed by
Ted Gould
Status: | Rejected |
---|---|
Rejected by: | Martin Pitt |
Proposed branch: | lp:~ted/apport/enable-debug |
Merge into: | lp:~apport-hackers/apport/trunk |
Diff against target: |
28 lines (+13/-0) 2 files modified
data/apport-debug-enabled.conf (+12/-0) setup.py (+1/-0) |
To merge this branch: | bzr merge lp:~ted/apport/enable-debug |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dimitri John Ledkov (community) | Disapprove | ||
Martin Pitt (community) | Needs Information | ||
Sebastien Bacher | Pending | ||
Review via email: mp+182530@code.launchpad.net |
Commit message
Add Upstart user session job to include debug information.
Description of the change
This comes from a discussion that seb and I were having where we thought it would be cool if when apport is collecting reports, we could also get all the debug messages in the upstart logs. Thinking about it more, I think that just having an apport job is probably the easiest way to do this.
To post a comment you must log in.
I'm not quite sure how these session upstart jobs work, what will that do exactly? We certainly shouldn't set G_MESSAGES_ DEBUG=all for all session processes. I'm not even sure it's wise to set this for all session upstart activated services; debug messages can be *very* chatty, we would suddenly end up writing ten times the amount of data to log files which fills up the disk and causes a lot more I/O and wakeups.
I think we should make it as easy as possible to enable this, so that we can ask bug reporters to enable it for a while if necessary?