[
https://issues.jboss.org/browse/LOGMGR-38?page=com.atlassian.jira.plugin....
]
Clebert Suconic updated LOGMGR-38:
----------------------------------
Forum Reference: (was:
https://community.jboss.org/message/725757?tstart=0#725757)
Just as a reference here,
There was a thread I talked about our logging conversion on hornetq, and we talked about
this:
https://community.jboss.org/message/725757?tstart=0#725757
Avoid SimpleDataFormat
----------------------
Key: LOGMGR-38
URL:
https://issues.jboss.org/browse/LOGMGR-38
Project: JBoss Log Manager
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: Clebert Suconic
Assignee: David Lloyd
SimpleDateFormat is a really dumb thing... it creates a synchronization point as it
contains state on the class. (Can you believe that).
We have been bitten by SDF in the past as it "fixed" our bugs whenever you had
races and had enabled trace logging. We could then get better tracing again after removing
SDF.
And that's a bad thing for us on a messaging system with lots of multi-thread behind
the scenes (with the types of issues we have to debug).
So, in order for us to move to jboss-logging (or whatever is underneath or around it), we
can't have SDF being synchornized on every log being written.. that's just
prohibitive for us.
For that reason we need SDF out of logging.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira