X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/e6ef7fb704667d8266e6d881ff5e39be0e4188fa..2feaf292e83d3c06e228ea81b4cd0a018d50de36:/src/app/log.py?ds=inline 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()