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/11/29 12:53:40 UTC
[jira] [Commented] (LOG4PHP-160) Appeneders should use a default
layout is no layout is specified in configuration
[ https://issues.apache.org/jira/browse/LOG4PHP-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159206#comment-13159206 ]
Ivan Habunek commented on LOG4PHP-160:
--------------------------------------
Cool. I'll have a look at it and apply it to trunk when I get a bit of free time.
> Appeneders should use a default layout is no layout is specified in configuration
> ---------------------------------------------------------------------------------
>
> Key: LOG4PHP-160
> URL: https://issues.apache.org/jira/browse/LOG4PHP-160
> Project: Log4php
> Issue Type: Improvement
> Reporter: Ivan Habunek
> Assignee: Ivan Habunek
> Attachments: defaultLayout.patch
>
>
> Currently, if an appender which requires a layout is specified without layout, it will silently fail to log anything.
> e.g.: <appender name="default" class="LoggerAppenderEcho" />
> It would be better if the appender would automatically be configured with a default layout (e.g. LoggerLayoutSimple).
--
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