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

Reply via email to