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:50:12 UTC
[jira] [Created] (LOG4PHP-199) LoggerFilterLevelRange behaviour
inconsistent with docs
Ivan Habunek created LOG4PHP-199:
------------------------------------
Summary: LoggerFilterLevelRange behaviour inconsistent with docs
Key: LOG4PHP-199
URL: https://issues.apache.org/jira/browse/LOG4PHP-199
Project: Log4php
Issue Type: Bug
Components: Code
Affects Versions: 2.3.0
Reporter: Ivan Habunek
Assignee: Ivan Habunek
IMO, this filter should behave similar to LoggerFilterLevelMatch, i.e.:
- if level is in given range and acceptOnMatch=true, then ACCEPT
- if level is in given range and acceptOnMatch=false, then DENY
- else NEUTRAL
What it currently does:
- if level is in given range and acceptOnMatch=true, then ACCEPT
- if level is in given range and acceptOnMatch=false, then NEUTRAL
- else DENY
This is copied directly from log4j.
http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/varia/LevelRangeFilter.html
To me present behaviour makes no sense...
--
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