Andrey Bardashevsky created SLING-4764:
------------------------------------------

             Summary: ClassCastException when trying to modify properties in 
custom appender Service
                 Key: SLING-4764
                 URL: https://issues.apache.org/jira/browse/SLING-4764
             Project: Sling
          Issue Type: Bug
          Components: Commons
    Affects Versions: Commons Log 4.0.2, Commons Log 4.0.4
            Reporter: Andrey Bardashevsky


Exception:
java.lang.ClassCastException: 
org.apache.sling.commons.log.logback.internal.AppenderTracker$AppenderInfo 
cannot be cast to ch.qos.logback.core.Appender
        at 
org.apache.sling.commons.log.logback.internal.AppenderTracker.modifiedService(AppenderTracker.java:78)

Solution:
org.apache.sling.commons.log.logback.internal.AppenderTracker#addingService 
should return Appender (a) instead of AppenderInfo (ai)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to