You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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..filter.=Custom or built in filter
log4j.appender..filter..param1=X
log4j.appender..filter..param2=Y
...
The text was updated successfully, but these errors were encountered:
avielfedida
changed the title
Support for filters in
Support for filters in PropertyConfigurator
Mar 16, 2023
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.
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..filter.=Custom or built in filter
log4j.appender..filter..param1=X
log4j.appender..filter..param2=Y
...
The text was updated successfully, but these errors were encountered: