[
https://issues.apache.org/jira/browse/DIRMINA-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-300.
---------------------------------
Resolution: Duplicate
Assignee: Trustin Lee
DIRMINA-422 will address this issue using MDC feature of SLF4J.
MDC (Mapped Diagnostic Context) allows you log extra information such as remote
address, local address and many more. You can access the current MDC using %x
format string in Log4J:
[%x{remoteAddress} => %x{localAddress}] %m
Very flexible, right?
> Enhance log information when using sessionLog
> ---------------------------------------------
>
> Key: DIRMINA-300
> URL: https://issues.apache.org/jira/browse/DIRMINA-300
> Project: MINA
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.0.0
> Reporter: Phan Thanh Hieu
> Assignee: Trustin Lee
> Priority: Minor
> Attachments: SessionLog.java
>
>
> SessionLog should provide the information about LocalAddress and
> RemoteAddress instead of only RemoteAddress as current. How do you guys think?
> I have modified the SessionLog util class attached in this issue.
> I have to develop the SessionLogUtil myseft due to i encountered a problem:
> MINA continues receiving the message when stop listening on Port.
> The kind of added information would help us to detect which port is still
> received the message.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.