We are currently upgrading our dropwizard app from 0.9.3 to 1.0.2. One of
the things that is currently biting us is the move to logback-access. It
looks like logback-access does not support MDC[1], so we can't include
per-request values with our log lines. For example, we set a unique id per
request in the MDC, and then include this with every log line. Is this
possible a different way now with logback-access?

Concretely, there's a shift from ILoggingEvent to IAccessEvent for these
messages (described in the PR[2]), and IAccessEvent does not include the
MDC map like ILoggingEvent[3].

Thanks,
Paul

[1] http://jira.qos.ch/browse/LOGBACK-1016
[2]
https://github.com/dropwizard/dropwizard/pull/1415#issuecomment-174312359
[3]
https://github.com/qos-ch/logback/blob/03e26684d43066d53dbf926e060a73d43bee77fd/logback-classic/src/main/java/ch/qos/logback/classic/spi/ILoggingEvent.java#L75

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to