[jboss-jira] [JBoss JIRA] (LOGMGR-124) Add marker support
Robert Knotek (JIRA)
issues at jboss.org
Fri Feb 26 03:49:00 EST 2016
[ https://issues.jboss.org/browse/LOGMGR-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168766#comment-13168766 ]
Robert Knotek commented on LOGMGR-124:
--------------------------------------
But JBoss Logging is not only JUL. JBoss Logging also supports for example SLF4J. And SLF4J API already supports Markers. What I am saying is that JBoss implementation of SLF4J API extends MarkerIgnoringBase. MarkerIgnoringBase is abstract class that simply throws Marker info from all calls.
You are right in fact that JUL does not have Markers in API. But you don't use pure JUL. You extends JUL in ExtLogRecord, so what can be done is to add Marker into ExtLogRecord and propagate it there from APIs which already supports Markers (SLF4J). From APIs without Marker support just null can be propagated.
> Add marker support
> ------------------
>
> Key: LOGMGR-124
> URL: https://issues.jboss.org/browse/LOGMGR-124
> Project: JBoss Log Manager
> Issue Type: Feature Request
> Components: core
> Affects Versions: 2.0.2.Final
> Reporter: Rob Heine
> Priority: Optional
>
> The logging engine currently (talking about the one included in WF-9) does not support Markers (like in implementations like "logback" and/or "log4j2").
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list