[logback-dev] [JIRA] Commented: (LBCLASSIC-299) MDC properties sometimes were empty (DBAppender)

Bryan Lin (JIRA) noreply-jira at qos.ch
Wed Oct 19 03:18:13 CEST 2011


    [ http://jira.qos.ch/browse/LBCLASSIC-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12220#action_12220 ] 

Bryan Lin commented on LBCLASSIC-299:
-------------------------------------

Tks Ralph! 
I have tried your method, and the problem was disappeared.
please close this issue.
thanks again.

> MDC properties sometimes were empty (DBAppender)
> ------------------------------------------------
>
>                 Key: LBCLASSIC-299
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-299
>             Project: logback-classic
>          Issue Type: Bug
>    Affects Versions: 0.9.30
>         Environment: win xp, jdk1.6.0_22, weblogic 10.3.4
>            Reporter: Bryan Lin
>            Assignee: Logback dev list
>
> I put the userId and userName into MDC while login, but sometimes it was not written to DB. 
> After debug I found that while the actual type of "event.getMDCPropertyMap()" is Collections$SynchronizedMap, MDC was not empty; but when it return HashMap, then MDC is empty.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list