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 (Created) (JIRA)" <ji...@apache.org> on 2011/10/05 16:51:34 UTC
[jira] [Created] (LOG4PHP-157) properties files in some of the
examples leave out the mandatory quotes
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:
<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.
--
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
[jira] [Commented] (LOG4PHP-157) properties files in some of the
examples leave out the mandatory quotes
Posted by "Ivan Habunek (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Closed] (LOG4PHP-157) properties files in some of the
examples leave out the mandatory quotes
Posted by "Ivan Habunek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4PHP-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Habunek closed LOG4PHP-157.
--------------------------------
Resolution: Not A Problem
> 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.0
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (LOG4PHP-157) properties files in some of the
examples leave out the mandatory quotes
Posted by "Alexander Lehmann (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (LOG4PHP-157) properties files in some of the
examples leave out the mandatory quotes
Posted by "Ivan Habunek (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4PHP-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123088#comment-13123088 ]
Ivan Habunek commented on LOG4PHP-157:
--------------------------------------
I have added the quotes for the conversion patterns. The fix will show up once I manage to update the site, having some permission problems.
As mentioned, this will be more thoroughly fixed with the next release.
> 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