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

JCLLoggerAdapter has log.isDebugEnabled() in trace method

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.6.x
    • Unspecified
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: