Ticket #5696 defect new
PythonLoggingObserver does not log structured data.
| Reported by: | dreid | Owned by: | richzeng |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | chris@… | Branch: | branches/structured-log-logging-5696 |
| Author: | glyph | Launchpad Bug: |
Description
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
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

