You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by Michael Künzli <Mi...@unibas.ch> on 2009/02/18 13:20:12 UTC
Bug in LoggerAppenderConsole.php
Hi there!
I made some experiments with your library and found following bug:
Bug: Console-Appender does not write to STDERR if set to this option.
How to reproduce:
1. Take the console example from apache-log4php/trunk/src/examples/php/
and change the following line in console.properties
log4php.appender.console.target = STDOUT
to
log4php.appender.console.target = STDERR
2. Run console.php.
-> Effect: no output to STDERR
Resolution:
LoggerAppenderConsole.php - line 80
is currently:
$target = self::STDERR;
should be:
$this->target = self::STDERR;
Can somebody fix that? I'm not allowed to commit stuff.
Thanks,
Michael Kuenzli