Skip to content

Commit

Permalink
Change musicbrainzngs logging level to WARNING
Browse files Browse the repository at this point in the history
The default log level is INFO.
Needed to silence harmless messages like: '<ws2:release-group>, uncaught attribute type-id'.

Signed-off-by: JoeLametta <[email protected]>
  • Loading branch information
JoeLametta committed Feb 13, 2019
1 parent 1cf784c commit 87b9460
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions whipper/common/mbngs.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ def musicbrainz(discid, country=None, record=False):
logger.debug('looking up results for discid %r', discid)
import musicbrainzngs

logging.getLogger("musicbrainzngs").setLevel(logging.WARNING)
musicbrainzngs.set_useragent("whipper", whipper.__version__,
"https://github.com/whipper-team/whipper")
ret = []
Expand Down

0 comments on commit 87b9460

Please sign in to comment.