You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Andrey Plotkin (JIRA)" <ji...@apache.org> on 2016/09/06 19:48:21 UTC
[jira] [Created] (LOG4J2-1566) LevelRangeFilter default range has
to be OFF->ALL
Andrey Plotkin created LOG4J2-1566:
--------------------------------------
Summary: LevelRangeFilter default range has to be OFF->ALL
Key: LOG4J2-1566
URL: https://issues.apache.org/jira/browse/LOG4J2-1566
Project: Log4j 2
Issue Type: Bug
Components: Filters
Affects Versions: 2.6.2, 2.6.1, 2.6, 2.5, 2.4.1, 2.4
Environment: Windows 10, Java 1.7
Reporter: Andrey Plotkin
Currently the default range is ERROR->ERROR.
That is: if no minValue provided, it is considered ERROR.
Default range should be OFF->ALL for few reasons:
1) According to log4j 1.2, default range is full range.
https://logging.apache.org/log4j/extras/apidocs/org/apache/log4j/filter/LevelRangeFilter.html
So it's good for back compatibility.
2) Current range is too limited.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org