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 (JIRA)" <ji...@apache.org> on 2012/12/15 15:42:12 UTC

[jira] [Closed] (LOG4PHP-83) Filters can not be configured using log4php.properties, only via XML

     [ https://issues.apache.org/jira/browse/LOG4PHP-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Habunek closed LOG4PHP-83.
-------------------------------

    Resolution: Won't Fix

Since properties configuration format has been deprecated for a while, and will possibly be removed for version 3, this will not be implemented.
                
> Filters can not be configured using log4php.properties, only via XML
> --------------------------------------------------------------------
>
>                 Key: LOG4PHP-83
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-83
>             Project: Log4php
>          Issue Type: New Feature
>          Components: Code
>    Affects Versions: 2.0.0
>            Reporter: Christian Hammers
>            Priority: Minor
>
> I file a bug so that it does not get forgotten....
> -------------------------------
> Hi,
> yes, thats true. And its documented :-)
> http://ci.apache.org/projects/log4php/docs/appender-filter.html
> As far as I know this is not implemented by Log4J itself. But -imho-
> this is not preventing us to do so. If you do, have in mind that
> filters needs parameters too.
> Cheers
> Christian
> On Tue, Sep 8, 2009 at 11:50 PM, Christian Hammers<ch...@lathspell.de> wrote:
> > Hello
> >
> > Can it be that LoggerConfiguratorIni does not understand filters?
> >
> >    <appender name="default" class="LoggerAppenderEcho">
> >        <layout class="LoggerLayoutTTCC"/>
> >        <filter class="LoggerFilterDenyAll"/>
> >
> > works while
> >
> >        log4php.appender.default = LoggerAppenderEcho
> >        log4php.appender.default.layout = LoggerLayoutTTCC
> >        log4php.appender.default.filter = LoggerFilterDenyAll
> >        log4php.rootLogger = DEBUG, default
> >
> > does not.
> >
> > Is this intended? If so it should be better documented :)
> >

--
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