<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        
                                        
                                            
                                        
                                        
                                        Yeah my issue is that I have a unit test that checks if ContextSelectorStaticBinder is properly configured to return our custom ContextSelector and I'm not sure what to replace that with.<div><br></div><div><div><span style="font-size: 13.3333px"><span style="font-family: Courier New">        ContextSelector selector = ContextSelectorStaticBinder.getSingleton().getContextSelector();</span></span></div><div><span style="font-size: 13.3333px"><span style="font-family: Courier New">        assertTrue(selector instanceof FrameworkLoggerContextSelector);</span></span></div></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">getContextSelector() now returns null in my unit test.</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">BR,</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Richard</span></div><blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">On 6/9/2023 1:07:26 PM, logback developers list via logback-dev <logback-dev@qos.ch> wrote:</p><div style="font-family:Arial,Helvetica,sans-serif"><br>Hello Richard,<br><br>StaticLoggerBinder has been replaced by<br>org.slf4j.spi.SLF4JServiceProvider of which LogbackServiceProvider is an<br>implementation.<br><br>SLF4JServiceProvider interface has a method called initialize().<br><br>Is this what you were asking?<br><br>-- <br>Ceki Gülcü<br><br>Sponsoring SLF4J/logback/reload4j at https://github.com/sponsors/qos-ch<br><br>On 6/9/2023 7:01 PM, logback developers list via logback-dev wrote:<br>> Before 1.3, the class StaticLoggerBinder had an init method that would<br>> in turn call the init method on the singleton ContextSelectorBinder:<br>> <br>> contextSelectorBinder.init(defaultLoggerContext, KEY);<br>> <br>> -Richard<br>> 48c29399-04ec-4cd1-8794-c7507a7d5ded<br>_______________________________________________<br>logback-dev mailing list<br>logback-dev@qos.ch<br>https://mailman.qos.ch/cgi-bin/mailman/listinfo/logback-dev</div></blockquote></div><img class="mailbird" width="1" height="1" style="border:0; width:1; height:1; display: none;" src="https://tracking.getmailbird.com/OpenTrackingPixel/?messageId=Mailbird-957120ae-57b9-4c3d-8341-2dbfc84cde2e@idfconnect.com&senderHash=D6ED44D59BDB7BF65537969234F1652749304BFD29C84F7B7F72DC62F12A74D6&recipientHash=F1ACC2A55C5C33DCFD3E75C58B62F0B1CC3C381818FBC188475D1D2589A71308&internalId=d987d113-0103-47be-9ab9-53db250d6997" alt="17fa5a94-06c8-464e-bde9-1843e17d88e4">