logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bidorff (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4J2-337) SLF4JLogger attempts to cast an org.slf4j.Marker into an org.apache.logging.log4j.Marker, causing a ClassCastException
Date Thu, 08 Aug 2013 07:52:47 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Bidorff updated LOG4J2-337:
---------------------------------

    Description: Every method of SLF4JLogger that uses Markers (including isTraceEnabled(Marker),
isDebugEnabled(Marker), isWarnEnabled(Marker)... and the method that calls them: trace(Marker,
String), debug(Marker, String)...), attempt to cast org.slf4j.Marker (actually, they are more
likely to be org.slf4j.helpers.BasicMarker) into org.apache.logging.log4j.Marker and causes
ClassCastException.  (was: Every method of SLF4JLogger that uses Markers (including isTraceEnabled(Marker),
isDebugEnabled(Marker), isWarnEnabled(Marker)... and the method that calls them: trace(Marker,
String), debug(Marker, String)...), attempt to cast org.slf4j.Marker (actually, they are more
likely to be org.slf4j.helpers.BasicMarker) into org.apache.logging.log4j.Marker and causes
ClassCastException and.)
    
> SLF4JLogger attempts to cast an org.slf4j.Marker into an org.apache.logging.log4j.Marker,
causing a ClassCastException
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-337
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-337
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: SLF4J Bridge
>    Affects Versions: 2.0-beta8
>            Reporter: David Bidorff
>
> Every method of SLF4JLogger that uses Markers (including isTraceEnabled(Marker), isDebugEnabled(Marker),
isWarnEnabled(Marker)... and the method that calls them: trace(Marker, String), debug(Marker,
String)...), attempt to cast org.slf4j.Marker (actually, they are more likely to be org.slf4j.helpers.BasicMarker)
into org.apache.logging.log4j.Marker and causes ClassCastException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message