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
We faced the similar problem for performance of log4j. Basically we log a bunch of messages for each http request. Then, we found that http response time gets hits. So what we ended up was to first log each message to a StringBuffer, after some messages are logged, i.e. 100, we then call log4j api to log. This has improved the response time. However, we still see a response hit when the chunk of messages are written to file. Lily http://www.alldiscountbooks.net