New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to setting up logging on mopidy logger instead of root. #593

Closed
adamcik opened this Issue Nov 26, 2013 · 1 comment

Comments

2 participants
@adamcik
Member

adamcik commented Nov 26, 2013

We should switch to using the mopidy logger to setup our logging, leaving the root handler with a null handler. Goal should be something like:

  • Quiet: root = error, mopidy = warning
  • Normal: root = error, mopidy = info
  • Verbose: root = warning, mopidy = debug
  • Very verbose: root = debug

Advantage of this would be that we no longer need to actively suppress pykka, ws4py, cherrypy, ... logging.

@jodal

This comment has been minimized.

Member

jodal commented Nov 26, 2013

+1

jodal added a commit to jodal/mopidy that referenced this issue Jan 12, 2014

log: Add verbosity_level 2 and 3
Reduces the amount of dependency logging on level 1, and increases the amount
on level 2 and 3. Fixes mopidy#593.

@ghost ghost assigned jodal Jan 12, 2014

@adamcik adamcik closed this in #638 Jan 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment