[logback-dev] [JIRA] Commented: (LBSITE-36) Example 7.5 Is Not Thread-Safe
john jimenez (JIRA)
noreply-jira at qos.ch
Wed Feb 10 00:18:33 CET 2010
[ http://jira.qos.ch/browse/LBSITE-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11518#action_11518 ]
john jimenez commented on LBSITE-36:
------------------------------------
Instead of synchronizing the points of userRegistered access, one can store it in the session or in this particular implementation the request.
> Example 7.5 Is Not Thread-Safe
> ------------------------------
>
> Key: LBSITE-36
> URL: http://jira.qos.ch/browse/LBSITE-36
> Project: logback-site
> Issue Type: Bug
> Components: Documentation
> Affects Versions: unspecified
> Reporter: john jimenez
> Assignee: Ceki Gulcu
>
> Example 7.5 in
> http://logback.qos.ch/manual/mdc.html
> is not thread-safe because
> userRegistered
> is declared as a global variable.
--
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