You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2010/09/10 01:51:37 UTC
[jira] Updated: (DIRMINA-794) Log4jXmlFormatter is unnecessarily
tied to BasicMDCAdapter
[ https://issues.apache.org/jira/browse/DIRMINA-794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson updated DIRMINA-794:
-----------------------------------
Attachment: DIRMINA-794.patch
here's a patch
> Log4jXmlFormatter is unnecessarily tied to BasicMDCAdapter
> ----------------------------------------------------------
>
> Key: DIRMINA-794
> URL: https://issues.apache.org/jira/browse/DIRMINA-794
> Project: MINA
> Issue Type: Improvement
> Components: Core
> Reporter: Justin Edelson
> Attachments: DIRMINA-794.patch
>
>
> The class org.apache.mina.util.Log4jXmlFormatter will only output the contents of the SLF4J MDC if the MDCAdapter used is an instance of BasicMDCAdapter. This has two problems:
> 1) It excludes Log4j and Logback, the MDCAdapters for which do not extend BasicMDCAdapter
> 2) It creates a dependency on (what should be) an internal SLF4J class
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.