X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/e6ef7fb704667d8266e6d881ff5e39be0e4188fa..49c528b6d2cdaa39e08e00ccfa74a60751f8640a:/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()