Details
-
Task
-
Resolution: Done
-
Major
-
2.2.8
-
None
Description
Example:
if(log.isTraceEnabled())
should be replaced with
if(trace)
trace is initialized once at startup.
Analyzing commons-logging and log4j, there is more work done in those calls than meets the eye, doing this in every down()
or up() method adds significant overhead.