X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/73afe12f27b72efbe72bfa4d8b1bf9c958f38a6e..2feaf292e83d3c06e228ea81b4cd0a018d50de36:/src/app/log.py diff --git a/src/app/log.py b/src/app/log.py index b2cd407..f270b8d 100755 --- a/src/app/log.py +++ b/src/app/log.py @@ -26,8 +26,10 @@ class EventLoggerAdapter(logging.LoggerAdapter) : return pp(msg), kwargs #logging.basicConfig(level=logging.DEBUG, stream = sys.stdout) - console = logging.getLogger('minwii.console') +console.setLevel(logging.DEBUG) +console.addHandler(logging.StreamHandler()) + _eventLogger = logging.getLogger('minwii.events') _eventLogger.setLevel(logging.INFO) _eventHandler = logging.StreamHandler()