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 Gary Gregory <ga...@gmail.com> on 2015/09/01 01:15:16 UTC

Re: The Range of Levels

A reminder that I am looking for a go ahead to commit or feedback on the
following:


>> On Wed, 26 Aug 2015, Gary Gregory wrote:
>>
>> Hi All,
>>>
>>> To make it easier to implement a LevelRangeFilter (patch with test here:
>>> https://issues.apache.org/jira/browse/LOG4J2-1106) I'd like to add a new
>>> method to the public API: org.apache.logging.log4j.Level.isInRange(Level,
>>> Level)
>>>
>>> This seems like right place which since we already have:
>>>
>>> - org.apache.logging.log4j.Level.isLessSpecificThan(Level)
>>> - org.apache.logging.log4j.Level.isMoreSpecificThan(Level)
>>>
>>> Please see https://issues.apache.org/jira/browse/LOG4J2-1105 for the
>>> patch
>>> (with tests).
>>>
>>> New API: https://issues.apache.org/jira/browse/LOG4J2-1105
>>> New Filter: https://issues.apache.org/jira/browse/LOG4J2-1106
>>>
>>> OK, not OK?
>>>
>>> Gary
>>>
>>> --
>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>> Java Persistence with Hibernate, Second Edition
>>> <http://www.manning.com/bauer3/>
>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>> Spring Batch in Action <http://www.manning.com/templier/>
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>>>
>>>

Re: The Range of Levels

Posted by Gary Gregory <ga...@gmail.com>.
On Mon, Aug 31, 2015 at 6:02 PM, Ralph Goers <ra...@dslextreme.com>
wrote:

> If I didn't already tell you to go ahead I meant to.
>

Done; in Git master.

Gary


>
> Ralph
>
> On Aug 31, 2015, at 4:15 PM, Gary Gregory <ga...@gmail.com> wrote:
>
> A reminder that I am looking for a go ahead to commit or feedback on the
> following:
>
>
>>> On Wed, 26 Aug 2015, Gary Gregory wrote:
>>>
>>> Hi All,
>>>>
>>>> To make it easier to implement a LevelRangeFilter (patch with test here:
>>>> https://issues.apache.org/jira/browse/LOG4J2-1106) I'd like to add a
>>>> new
>>>> method to the public API:
>>>> org.apache.logging.log4j.Level.isInRange(Level,
>>>> Level)
>>>>
>>>> This seems like right place which since we already have:
>>>>
>>>> - org.apache.logging.log4j.Level.isLessSpecificThan(Level)
>>>> - org.apache.logging.log4j.Level.isMoreSpecificThan(Level)
>>>>
>>>> Please see https://issues.apache.org/jira/browse/LOG4J2-1105 for the
>>>> patch
>>>> (with tests).
>>>>
>>>> New API: https://issues.apache.org/jira/browse/LOG4J2-1105
>>>> New Filter: https://issues.apache.org/jira/browse/LOG4J2-1106
>>>>
>>>> OK, not OK?
>>>>
>>>> Gary
>>>>
>>>> --
>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>>> Java Persistence with Hibernate, Second Edition
>>>> <http://www.manning.com/bauer3/>
>>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>>> Spring Batch in Action <http://www.manning.com/templier/>
>>>> Blog: http://garygregory.wordpress.com
>>>> Home: http://garygregory.com/
>>>> Tweet! http://twitter.com/GaryGregory
>>>>
>>>>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: The Range of Levels

Posted by Ralph Goers <ra...@dslextreme.com>.
If I didn't already tell you to go ahead I meant to.

Ralph

> On Aug 31, 2015, at 4:15 PM, Gary Gregory <ga...@gmail.com> wrote:
> 
> A reminder that I am looking for a go ahead to commit or feedback on the following:
> 
>>> 
>>> On Wed, 26 Aug 2015, Gary Gregory wrote:
>>> 
>>>> Hi All,
>>>> 
>>>> To make it easier to implement a LevelRangeFilter (patch with test here:
>>>> https://issues.apache.org/jira/browse/LOG4J2-1106) I'd like to add a new
>>>> method to the public API: org.apache.logging.log4j.Level.isInRange(Level,
>>>> Level)
>>>> 
>>>> This seems like right place which since we already have:
>>>> 
>>>> - org.apache.logging.log4j.Level.isLessSpecificThan(Level)
>>>> - org.apache.logging.log4j.Level.isMoreSpecificThan(Level)
>>>> 
>>>> Please see https://issues.apache.org/jira/browse/LOG4J2-1105 for the patch
>>>> (with tests).
>>>> 
>>>> New API: https://issues.apache.org/jira/browse/LOG4J2-1105
>>>> New Filter: https://issues.apache.org/jira/browse/LOG4J2-1106
>>>> 
>>>> OK, not OK?
>>>> 
>>>> Gary
>>>> 
>>>> --
>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>>> Java Persistence with Hibernate, Second Edition
>>>> <http://www.manning.com/bauer3/>
>>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>>> Spring Batch in Action <http://www.manning.com/templier/>
>>>> Blog: http://garygregory.wordpress.com
>>>> Home: http://garygregory.com/
>>>> Tweet! http://twitter.com/GaryGregory
>>>> 
> 
>