Skip to content

Commit

Permalink
Merge 0ef53e4 into 57caf68
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFriendlyCoder committed Sep 28, 2018
2 parents 57caf68 + 0ef53e4 commit d1b166f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/friendlyshell/basic_logger_mixin.py
@@ -1,6 +1,7 @@
"""Mixin for displaying output from a friendly shell"""
import logging
import os
import sys


class BasicLoggerMixin(object):
Expand Down Expand Up @@ -37,7 +38,7 @@ def __init__(self, *args, **kwargs):
global_logger.setLevel(logging.DEBUG)

# All info messages and above are going to the console
console_handler = logging.StreamHandler()
console_handler = logging.StreamHandler(sys.stdout)
console_format = logging.Formatter(fmt="%(message)s")
console_handler.setLevel(logging.INFO)
console_handler.setFormatter(console_format)
Expand Down

0 comments on commit d1b166f

Please sign in to comment.