[
https://issues.apache.org/jira/browse/LOG4PHP-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457805#comment-13457805
]
Michal Vanek commented on LOG4PHP-188:
--------------------------------------
Hi,
i'm not sure if my solution is ok (as Christer wrote). It stops recursion. If
you have 3 loggers with levels DEBUG->ERROR->DEBUG in hierarchy, message with
level DEBUG logged with the last logger will be logged only once, but it should
be logged twice.
> rootLogger logs although level isn't reached
> --------------------------------------------
>
> Key: LOG4PHP-188
> URL: https://issues.apache.org/jira/browse/LOG4PHP-188
> Project: Log4php
> Issue Type: Question
> Components: Code
> Affects Versions: 2.2.1
> Environment: Windows Server 2008 R2, IIS 7
> Reporter: Florian Platzer
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira