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

Maarten Bosteels reopened DIRMINA-422:
--------------------------------------


I need to check more scenario's.

Depending on the relative position of  ExecutorFilter and ProtocolCodecFilter 
more than one MdcLoggingFilter must be added to the chain
(when you want the MDC to be set during encoding/decoding).

Maybe we need to add a constructor where users can specify which events to wrap:
  MdcLoggingFilter (IoEventType... eventTypes) 



> create a new loggingfilter that leverages SLF4J's MDC feauture
> --------------------------------------------------------------
>
>                 Key: DIRMINA-422
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-422
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter
>            Reporter: Maarten Bosteels
>            Assignee: Maarten Bosteels
>            Priority: Minor
>             Fix For: 2.0.0-M1
>
>
> A logging filter that puts some basic info about the IoSession in the MDC 
> (Mapped Diagnostic Context)
> has the advantage that all logging events down the call stack include this 
> info.
> Even if those log events are generated by code that is not aware of MINA at 
> all.

-- 
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