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 "Ivan Habunek (Commented) (JIRA)" <ji...@apache.org> on 2011/10/05 17:35:34 UTC

[jira] [Commented] (LOG4PHP-157) properties files in some of the examples leave out the mandatory quotes

    [ https://issues.apache.org/jira/browse/LOG4PHP-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121053#comment-13121053 ] 

Ivan Habunek commented on LOG4PHP-157:
--------------------------------------

Hi Alexander,

I realise that current documentation is outdated and sometimes incorrect (especially the configuration page). I am presently rewriting a lot of documentation as a part of work on LOG4PHP-152.

I'll make a note of the problem you describe and fix it for the next release. 

That said, we are moving away from properties files for configuration and will focus more on the xml format in the new documentation. Properties files will still be supported though.

Thanks for the report.

Regards,
Ivan
                
> properties files in some of the examples leave out the mandatory quotes
> -----------------------------------------------------------------------
>
>                 Key: LOG4PHP-157
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-157
>             Project: Log4php
>          Issue Type: Bug
>          Components: Website
>    Affects Versions: 2.1
>         Environment: webpage
>            Reporter: Alexander Lehmann
>            Priority: Minor
>
> e.g. on http://logging.apache.org/log4php/docs/configuration.html
> the example properties look like this:
> # Set root logger level to DEBUG and its only appender to A1.
> log4php.rootLogger=DEBUG, A1
> # A1 is set to be a ConsoleAppender.
> log4php.appender.A1=LoggerAppenderConsole
> # A1 uses PatternLayout.
> log4php.appender.A1.layout=LoggerLayoutPattern
> log4php.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
> the ConversionPattern entries do not work since the spaces have to be included with quotes, this is correct on the page that explains appender layouts but wrong elsewhere.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira