https://issues.apache.org/bugzilla/show_bug.cgi?id=50844

           Summary: DateFormat.getDateTimeInstance() is very expensive, we
                    can cache it to improve performance
           Product: Log4j
           Version: 1.2
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: [email protected]
        ReportedBy: [email protected]


In the file :
./src/main/java/org/apache/log4j/lf5/util/DateFormatManager.java line:229

We can cache the result by adding a static class member field. 

This is the same as the Bug 48778

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to