logging-log4cxx
logging-log4cxx copied to clipboard
Support for filters in PropertyConfigurator
From the docs[https://logging.apache.org/log4cxx/latest_stable/classlog4cxx_1_1PropertyConfigurator.html]: " The PropertyConfigurator does not handle the advanced configuration features supported by the DOMConfigurator such as support for Filters, custom ErrorHandlers, nested appenders such as the AsyncAppender, etc. " Did anyone added or attempted to add support for filter when using PropertyConfigurator and a properties file such as ... log4j.appender.<appenderName>.filter.<FilterName>=Custom or built in filter log4j.appender.<appenderName>.filter.<FilterName>.param1=X log4j.appender.<appenderName>.filter.<FilterName>.param2=Y ...
this does not work and is unlikely to be added at this point, since filters can be rather complicated and not easy to configure in a properties-like configuration. You are welcome to try and add support, but it would be less work to simply convert your configuration file to XML rather than try to use properties.