Skip to content

Commit

Permalink
Remove logging output from mpl
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaharid committed Apr 20, 2021
1 parent a1639d0 commit 6601c20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/reportengine/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ def excepthook(self, etype, evalue, tb):

def init_logging(self, args):
root_log.setLevel(args['loglevel'])
mpl_logger = logging.getLogger('matplotlib')
mpl_logger.setLevel(logging.WARNING)
root_log.addHandler(colors.ColorHandler())

def init_style(self, args):
Expand Down

0 comments on commit 6601c20

Please sign in to comment.