X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/9096acac0bf12c658183483be6dc898db1a31756..dc8216d3cd94fe2a5d89c6e8a4fae5de2f25bc9b:/src/app/log.py?ds=inline diff --git a/src/app/log.py b/src/app/log.py index ffcf4c6..f07e3d2 100755 --- a/src/app/log.py +++ b/src/app/log.py @@ -25,7 +25,7 @@ class EventLoggerAdapter(logging.LoggerAdapter) : FORMAT = "%(ticks)-10s %(eventName)-15s %(message)s" def process(self, msg, kwargs) : - pp = pprinters.get(msg.type, lambda e: '') + pp = pprinters.get(msg.type, lambda e: str(e)) extra = {} extra['eventType'] = msg.type extra['eventName'] = eventNames[msg.type]