Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-272

JCLLoggerAdapter has log.isDebugEnabled() in trace method

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.6.x
    • Fix Version/s: None
    • Component/s: Unspecified
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      JCLLoggerAdapter contains:
      public void trace(String format, Object arg1, Object arg2) {
      if (log.isDebugEnabled())

      { FormattingTuple ft = MessageFormatter.format(format, arg1, arg2); log.trace(ft.getMessage(), ft.getThrowable()); }

      }

      log.isDebugEnabled() is used instead of log.isTraceEnabled()

      Issue is present in the slf4j-jcl-1.7.2 for all trace methods.

        Attachments

          Activity

            People

            • Assignee:
              slf4j-dev SLF4J developers list
              Reporter:
              vvolkova@softserveinc.com vvolkova
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: