[ 
https://issues.apache.org/jira/browse/DIRMINA-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563432#action_12563432
 ] 

Maarten Bosteels commented on DIRMINA-513:
------------------------------------------

IoSessionLogger has been removed, but I could not yet add MDC-aware Formatter 
implementations because the new SLF4J hasn't been released.

I also fixed a performance issue in LoggingFilter: message.toString() was 
invoked for every messageReceived and messageSent event, regardless of the 
configured log-levels.

> get rid of IoSessionLogger 
> ---------------------------
>
>                 Key: DIRMINA-513
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-513
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0.0-M1
>            Reporter: Maarten Bosteels
>            Assignee: Maarten Bosteels
>            Priority: Minor
>             Fix For: 2.0.0-M1
>
>
> It seems like the next version of SLF4J is going to support MDC for  
> java.util.logging 
> The users who use java.util.logging as their logging framework will have 
> access to MDC
> so that they can implement a formatter which prints out the MDC content. 
> This means we can get rid of IoSessionLogger completely and rely on 
> MdcInjectionFilter
> However, probably SLF4J won't provide a MDC-aware Formatter implementation 
> for java.util.logging, so we might need to include it
> in org.apache.mina.util package as an alternative solution.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to