MDC mechanism introduced logback

MDC (Mapped Diagnostic Context, maps debugging context), is about to run a number of contextual data when printed out logback, is a convenient feature log records in multithreaded conditions. And SiftingAppender together, can be realized according to the context runtime data, to save the log file to a different

Guess you like

Origin www.cnblogs.com/otways/p/11201360.html