logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48679] New: performance of getEffectiveLevel can be significantly improved
Date Thu, 04 Feb 2010 13:48:25 GMT

           Summary: performance of getEffectiveLevel can be significantly
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: omry@yadan.net

Whenever the client logs something getEffectiveLevel is called.
getEffectiveLevel in turn, goes up the loggers hierarchy until it finds a
logger that have an explicit log level.

it's possible to improve the logging performance by setting the effective level
as a member, and maintain it whenever the hierarchy changes or a parent logger
level is set.

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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message