You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-user@logging.apache.org by Juan Pablo Rostra <ju...@gmail.com> on 2011/07/29 22:19:10 UTC

Typo in project Quickstart page

There is a typo in te Project QuickStart page (
http://logging.apache.org/log4php/quickstart.html)

In the section "A simple example" appears this code:


> <?xml version="1.0" encoding="UTF-8"?>
> <log4php:configuration xmlns:log4php="http://logging.apache.org/log4php/">
>     <appender name="myAppender" class="LoggerAppenderFile">       <!-- 1 -->
>         <param name="file" value="myLog.log">                     <!-- 2 -->
>     </appender>
>     <root>
>         <level value="WARN" />                                    <!-- 3 -->
>         <appender_ref ref="myAppender" />                         <!-- 4 -->
>     </root>
> </log4php:configuration>
>
>
Note that the line where the log file is specified is not properly closed,
which causes the logger to don't work at all. It should be like this:

 <param name="file" value="myLog.log" />


BTW, this logging framework is great!

Re: Typo in project Quickstart page

Posted by Christian Grobmeier <gr...@gmail.com>.
Thanks,
I fixed it. Will go live with the next site deployment.

> BTW, this logging framework is great!

Thanks, great to hear :-)

Cheers
Christian