
[ http://jira.qos.ch/browse/LBSITE-36?page=com.atlassian.jira.plugin.system.is... ] 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