Custom layout for LoggerAppenderPhp
-----------------------------------

                 Key: LOG4PHP-20
                 URL: https://issues.apache.org/jira/browse/LOG4PHP-20
             Project: Log4php
          Issue Type: Bug
         Environment: PHP 5.2.6 (cli) (built: Sep 12 2008 10:59:28) 
Mac OS X 10.4.11
            Reporter: Corin Lawson
            Priority: Trivial


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.

Reply via email to