unity8 has a big log file, because qtmir has all debug logging info turned on 
by default. 
This can be changed just for unity8 by setting adding this env var to its 
upstart job:
   QT_LOGGING_RULES="*.debug=false"

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/qloggingcategory.html

I think the latter suggestion is easiest to implement should we want to
turn the warnings back on for developer mode.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart-app-launch in
Ubuntu.
https://bugs.launchpad.net/bugs/1414039

Title:
  App logging should be off by default

Status in the base for Ubuntu mobile products:
  New
Status in ubuntu-system-settings package in Ubuntu:
  New
Status in upstart-app-launch package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1414039/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to