[
https://issues.apache.org/jira/browse/LOG4PHP-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Knut Urdalen resolved LOG4PHP-20.
---------------------------------
Resolution: Fixed
Assignee: Knut Urdalen
Thanks! Modified patch applied. The suggestion about using requiresLayout in a
different way should be another ticket my eyes.
> Custom layout for LoggerAppenderPhp
> -----------------------------------
>
> Key: LOG4PHP-20
> URL: https://issues.apache.org/jira/browse/LOG4PHP-20
> Project: Log4php
> Issue Type: Bug
> Components: Code
> Environment: PHP 5.2.6 (cli) (built: Sep 12 2008 10:59:28)
> Mac OS X 10.4.11
> Reporter: Corin Lawson
> Assignee: Knut Urdalen
> Priority: Trivial
> Fix For: 2.0
>
> Attachments: LOG4PHP-20.patch
>
> Original Estimate: 0.17h
> Remaining Estimate: 0.17h
>
> PROBLEM
> Using the following configuration file, all messages in php log remain as
> TTCC format.
> log4php.appender.default=LoggerAppenderPhp
> log4php.appender.default.layout=LoggerPatternLayout
> log4php.appender.default.layout.conversionPattern="%-5p [%t] %c: %m%n"
> log4php.rootLogger=DEBUG, default
> SOLUTION
> In LoggerAppenderPhp class:
> First I removed the setting of the layout in activateOptions. Second I added
> the requiresLayout (defaulting to true) instance member.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.