Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-38

Avoid SimpleDataFormat

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.2.3.GA, 1.3.0.Final
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            dlloyd@redhat.com David Lloyd
            csuconic@redhat.com Clebert Suconic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: