[
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, 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 behaviour has been spotted on isTraceEnabled(Marker),
isDebugEnabled(Marker), isWarnEnabled(Marker)... and the method that calls
them: trace(Marker, String), debug(Marker, String)...
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.
> 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, 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 behaviour has been spotted on isTraceEnabled(Marker),
> isDebugEnabled(Marker), isWarnEnabled(Marker)... and the method that calls
> them: trace(Marker, String), debug(Marker, String)...
--
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: [email protected]
For additional commands, e-mail: [email protected]