<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hello everybody,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">i like to ask, if there is reason why </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><a href="https://github.com/qos-ch/logback/blob/master/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java#L407" rel="nofollow" target="_blank" class="enhancr_card_1304690721">logback/LoggingEvent.java at master · qos-ch/logback</a> <br></div><div><br></div><div id="ydp9ecc6125enhancr_card_1304690721" class="ydp9ecc6125yahoo-link-enhancr-card ydp9ecc6125ymail-preserve-class ydp9ecc6125ymail-preserve-style" style="max-width:400px;font-family:YahooSans, "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif" data-url="https://github.com/qos-ch/logback/blob/master/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java#L407" data-type="YENHANCER" data-size="MEDIUM" contenteditable="false"><a href="https://github.com/qos-ch/logback/blob/master/logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggingEvent.java#L407" style="text-decoration:none !important;color:#000 !important" class="ydp9ecc6125yahoo-enhancr-cardlink" rel="nofollow" target="_blank"><table border="0" class="ydp9ecc6125card-wrapper ydp9ecc6125yahoo-ignore-table" cellpadding="0" cellspacing="0" style="max-width:400px"><tbody><tr><td width="400"><table border="0" class="ydp9ecc6125card ydp9ecc6125yahoo-ignore-table" cellpadding="0" cellspacing="0" width="100%" style="max-width:400px;border-width:1px;border-style:solid;border-color:rgb(224, 228, 233);border-radius:2px"><tbody><tr><td class="ydp9ecc6125card-primary-image-cell" background="https://s.yimg.com/lo/api/res/1.2/NuptTyV8XoyTl7J8xFPi4g--~A/Zmk9ZmlsbDt3PTQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--/https://opengraph.githubassets.com/e03362752d06fd959d1f6fe87ea11452e5f3050959037e11e50927de1b566257/qos-ch/logback.cf.jpg" bgcolor="#000000" valign="top" height="175" style="background-color: rgb(0, 0, 0); background-size: cover; position: relative; border-radius: 2px 2px 0px 0px; min-height: 175px;"><!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:396px;height:175px;position:absolute;top:0;left:0;"><v:fill type="frame" color="#000000" src="https://s.yimg.com/lo/api/res/1.2/NuptTyV8XoyTl7J8xFPi4g--~A/Zmk9ZmlsbDt3PTQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--/https://opengraph.githubassets.com/e03362752d06fd959d1f6fe87ea11452e5f3050959037e11e50927de1b566257/qos-ch/logback.cf.jpg"/></v:rect><![endif]--><table border="0" class="ydp9ecc6125card-overlay-container-table ydp9ecc6125yahoo-ignore-table" cellpadding="0" cellspacing="0" style="width:100%"><tbody><tr><td class="ydp9ecc6125card-overlay-cell" background="https://s.yimg.com/cv/ae/nq/storm/assets/enhancrV21/1/enhancr_gradient-400x175.png" bgcolor="transparent" valign="top" style="background-color: transparent; border-radius: 2px 2px 0px 0px; min-height: 175px;"><!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:396px;height:175px;position:absolute;top:-18px;left:0;"><v:fill type="pattern" color="#000000" src="https://s.yimg.com/cv/ae/nq/storm/assets/enhancrV21/1/enhancr_gradient-400x175.png"/><v:textbox inset="0,0,20px,0"><![endif]--><table border="0" class="ydp9ecc6125yahoo-ignore-table" height="175" style="width: 100%; min-height: 175px;"><tbody><tr><td class="ydp9ecc6125card-richInfo2" style="text-align:left;padding:15px 0 0 15px;vertical-align:top"></td><td class="ydp9ecc6125card-actions" style="text-align:right;padding:15px 15px 0 0;vertical-align:top"><div class="ydp9ecc6125card-share-container"></div></td></tr></tbody></table><!--[if gte mso 9]></v:textbox></v:rect><![endif]--></td></tr></tbody></table></td></tr><tr><td><table border="0" align="center" class="ydp9ecc6125card-info ydp9ecc6125yahoo-ignore-table" cellpadding="0" cellspacing="0" style="background:#fff;position:relative;z-index:2;width:100%;max-width:400px;border-radius:0 0 2px 2px;border-top:1px solid rgb(224, 228, 233)"><tbody><tr><td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;border-radius:0 0 0 2px"><img class="ydp9ecc6125card-object-1 ydp9ecc6125yahoo-ignore-inline-image ydp9ecc6125ymail-preserve-class" src="https://s.yimg.com/nq/storm/assets/enhancrV2/23/logos/github.png" height="36" style="min-width:36px;margin-top:3px"></td><td style="vertical-align:middle;padding:12px 24px 16px 12px;width:99%;font-family:YahooSans, "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;border-radius:0 0 2px 0"><h2 class="ydp9ecc6125card-title" style="font-size: 14px; line-height: 19px; margin: 0px 0px 6px; font-family: YahooSans, "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; color: rgb(29, 34, 40); max-width: 314px;">logback/LoggingEvent.java at master · qos-ch/logback</h2><p class="ydp9ecc6125card-description" style="font-size: 12px; line-height: 16px; margin: 0px; color: rgb(151, 158, 168);">The reliable, generic, fast and flexible logging framework for Java. - logback/LoggingEvent.java at master · qos...</p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></a></div><div><br></div><div dir="ltr" data-setdir="false">is evaluated during call, <span><span style="color: rgb(36, 41, 47); font-family: -apple-system, "system-ui", "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px;"> and not "materialised" during log event creation</span></span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I seen situations when before <span>LoggingEvent was processed, MDC context was reset, </span></div><div dir="ltr" data-setdir="false">and after that MDC data was not present in related log message</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">thank you very much for answer</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Best regards</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Peter Kotula</div><div><br></div></div></body></html>