[logback-dev] MDC logging in logback-access - implementation enquiry
sinonim
sinonim at gmail.com
Tue Nov 18 14:16:22 CET 2014
Hi,
We are currently using the logstash-logback-encoder project to send logging
events to logstash. Fact is that we also need to send some details which are
put into MDC. The current AccessEvent implementation does not support this.
(there is also a ticket similar to this at
http://jira.qos.ch/browse/LOGBACK-1016)
We are interested to submit an implementation for this feature, which can be
done in the following ways:
1. modify IAccessEvent to include getMDCPropertyMap() just like
ILoggingEvent
2. create a new interface IMDCAwareAccessEvent to extend IAccessEvent and
add MDC functionality there and then make AccessEvent implement
IMDCAwareAccessEvent instead of IAccessEvent
What are the chances for any of these 2 proposed implementations to be
approved?
Thank you.
--
View this message in context: http://logback.10977.n7.nabble.com/MDC-logging-in-logback-access-implementation-enquiry-tp13913.html
Sent from the Developer mailing list archive at Nabble.com.
More information about the logback-dev
mailing list