App logging should be off by default
Bug #1414039 reported by
Pat McGowan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Thomas Strehl | ||
ubuntu-app-launch (Ubuntu) |
Fix Released
|
High
|
Ted Gould | ||
ubuntu-system-settings (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
We are creating 100s of MBs in log files which are generally unused on production systems
Propose to turn app logging off by default and add an option under developer mode to enable it along with additional logging levels like debug.
Also, apps and shell should examine their logging to become far less verbose
Related branches
lp:~ted/ubuntu-app-launch/remove-log-on-exit
- dobey (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 27 lines (+10/-0)2 files modifiedupstart-jobs/application-click.conf.in (+5/-0)
upstart-jobs/application-legacy.conf.in (+5/-0)
lp:~ted/ubuntu-system-settings/dev-mode-env
Ready for review
for merging
into
lp:ubuntu-system-settings
- Sebastien Bacher (community): Disapprove
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 40 lines (+16/-0)3 files modifieddebian/developer-mode-settings.conf (+13/-0)
debian/rules (+2/-0)
debian/ubuntu-system-settings.install (+1/-0)
affects: | upstart-app-launch (Ubuntu) → ubuntu-app-launch (Ubuntu) |
Changed in ubuntu-app-launch (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
assignee: | nobody → Ted Gould (ted) |
Changed in canonical-devices-system-image: | |
milestone: | ww09-2015 → ww11-2015 |
status: | In Progress → Fix Released |
status: | Fix Released → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | New → Invalid |
To post a comment you must log in.
unity8 has a big log file, because qtmir has all debug logging info turned on by default. RULES=" *.debug= false"
This can be changed just for unity8 by setting adding this env var to its upstart job:
QT_LOGGING_
Alternatively can apply this policy for all Qt apps in the system by creating ~/.config/ QtProject/ qtlogging. ini with these contents:
[Rules]
*.debug=false
Could use "*=false" to hide nearly all app output. For more info, see http:// doc.qt. io/qt-5/ qloggingcategor y.html
I think the latter suggestion is easiest to implement should we want to turn the warnings back on for developer mode.