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

rootLogger logs although level isn't reached

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.1
    • Code
    • None
    • Windows Server 2008 R2, IIS 7

    Description

      I downloaded the current version of log4php and used an existing configuration:

      rootLogger (level = FATAL, appender = echo)
      customLog (level = DEBUG, appender = dailyfile)

      When i log to customLog with DEBUG level, i also get the message printed on screen:

      Logger::getLogger('customLog')->debug('test');

      When I change rootLogger's appender to dailyfile, the message is logged twice in the log file.

      Attachments

        1. log4php.patch
          0.9 kB
          Michal Vanek
        2. test.php
          0.7 kB
          Michal Vanek

        Activity

          People

            juice Ivan Habunek
            flotschi Florian Platzer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: