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]
_eventLogger.addFilter(EventFilter())
eventLogger = EventLoggerAdapter(_eventLogger, {})
-
+#eventLogger = logging.getLogger('minwii.events')