http://bugzilla.slf4j.org/show_bug.cgi?id=72

           Summary: Performance and the JDK1.4 logger
           Product: SLF4J
           Version: unspecified
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Implementations
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Accoding to Ian Carr, the fillCallerData method is called even for disabled log
statements.

  private void log(String callerFQCN, Level level, String msg, Throwable t) {
    // millis and thread are filled by the constructor
    LogRecord record = new LogRecord(level, msg);
    record.setLoggerName(getName());
    record.setThrown(t);
    fillCallerData(callerFQCN, record);  <-- bad
    logger.log(record);

  }

For more information see
http://www.slf4j.org/pipermail/user/2008-February/000486.html


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
dev mailing list
[email protected]
http://www.slf4j.org/mailman/listinfo/dev

Reply via email to