[logback-user] Removal of LoggerContext constant in 0.9.17

Chad La Joie chad.lajoie at switch.ch
Wed Oct 21 14:12:48 CEST 2009


Yeah, probably since it represents a API break.  It's fine with me 
though I just needed to know what the correct way to do it.

Ceki Gulcu wrote:
> 
> The LoggerContext.ROOT_NAME was a duplicate of 
> org.slf4j.Logger.ROOT_LOGGER_NAME and hence was removed. It would have 
> been wiser to just deprecate it.
> 
> Chad La Joie wrote:
>> I was just updating the version of logback used by my project and I 
>> got an error.  It appears that the constant LoggerContext.ROOT_NAME 
>> has been removed however I don't see any mention of this in the 
>> release notes. Was this intentional?  If so, what is the correct way 
>> to retrieve the root logger now?
> 

-- 
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
chad.lajoie at switch.ch, http://www.switch.ch



More information about the Logback-user mailing list