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 "Alexander Lehmann (Updated) (JIRA)" <ji...@apache.org> on 2011/10/05 16:53:34 UTC

[jira] [Updated] (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:all-tabpanel ]

Alexander Lehmann updated LOG4PHP-157:
--------------------------------------

    Description: 
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.



  was:
e.g. on http://logging.apache.org/log4php/docs/configuration.html

the example properties look like this:

<code>
# 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
</code>

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.



    
> 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