[logback-user] CONTEXT_NAME property with DBAppender

Xavier Dury kalgon at hotmail.com
Wed May 8 08:50:38 CEST 2013


Hi,

I'm using a DBAppender and when I log something, I see that a LOG_EVENT_PROPERTY row with MAPPED_KEY = 'HOSTNAME' is inserted with the LOG_EVENT.

Is there an option (in configuration) to make the CONTEXT_NAME visible too in the same way when using a ContextSelector or do I have to put it myself in the MDC through a Servlet Filter? 

Regards,

Xavier 		 	   		  


More information about the Logback-user mailing list