Skip to content

Commit

Permalink
Bump SQLAlchemy logging to WARNING level
Browse files Browse the repository at this point in the history
The previous setting of INFO was logging far too much information into
the deploy logs, so bumping it up to WARNING for now.  This should be
made configurable in the future.
  • Loading branch information
Kenneth Lareau committed Jul 12, 2016
1 parent cd70bd8 commit 8ef7465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tds/configure_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def configure_logging(config_dir, verbosity, use_color, daemon=False):
use_color=use_color)

sqla_logger = logging.getLogger('sqlalchemy.engine')
sqla_logger.setLevel(20)
sqla_logger.setLevel(logging.WARNING)

if not daemon:
log_wrap.add_stream(sqla_logger, 'stdout', stream=sys.stdout,
Expand Down

0 comments on commit 8ef7465

Please sign in to comment.