Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-162

Warning for invalid appender threshold level never called

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Code
    • None

    Description

      appender config:

      <appender name="foo" class="LoggerAppenderConsole" threshold="FOO" />

      Expected warning: "Invalid threshold value [FOO]..."

      LoggerLevel::toLevel() return always level-debug if default-level is null. If the threshold unknow the default-level (debug in this case) will be returned. There is no need for this warning in line 266-267 LoggerConfigurator.

      Attachments

        Activity

          People

            juice Ivan Habunek
            floriansemm Florian Semm
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: