Ticket #5696 defect new
PythonLoggingObserver does not log structured data.
|Reported by:||dreid||Owned by:||richzeng|
(diff, github, buildbot, log)
The stdlib logging module supports an extra keyword argument which is a dictionary that will be combined with the LogRecord. When PythonLoggingObserver calls self.logging.log it fails to pass the eventDict argument to emit as this extra keyword argument, thus all structured data that might be attached to the log message is lost.
The extra keyword argument is documented here: http://docs.python.org/library/logging.html#logging.Logger.debug