Skip to content

Commit

Permalink
YORM logging should be WARNING at most
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Jun 15, 2015
1 parent 7e91d91 commit f34b544
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gdm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

__project__ = 'GDM'
__version__ = '0.2.5rc1'
__version__ = '0.2.5rc2'

CLI = 'gdm'
VERSION = __project__ + '-' + __version__
Expand Down
2 changes: 1 addition & 1 deletion gdm/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def configure_logging(count=0):
formatter = WarningFormatter(default_format, verbose_format,
datefmt=settings.LOGGING_DATEFMT)
logging.root.handlers[0].setFormatter(formatter)
logging.getLogger('yorm').setLevel(min(level, settings.YORM_LOGGING_LEVEL))
logging.getLogger('yorm').setLevel(max(level, settings.YORM_LOGGING_LEVEL))

# Warn about excessive verbosity
global verbosity # pylint: disable=W0603
Expand Down

0 comments on commit f34b544

Please sign in to comment.