My view on this is almost the opposite: I deliberately want to keep the
number of choices down. I believe in the Paradox of Choice
<https://en.wikipedia.org/wiki/The_Paradox_of_Choice>: that more choices is
not always better. I would not want to add standard levels.

I realize this is just my view and others may have a different opinion.

But that is why we put a lot of work into making custom levels as easy to
use as the built-in levels: all users now have the tools to make their
personal preferences reality without impacting anyone else.

My personal preference is to have only the current built-in levels and no
more. Your preference is to have the additional three levels. Another user
may want a NOTICE level that is between DEBUG and TRACE. I was really
hoping that custom levels would make us all happy without getting in each
other's way. Why don't you give custom levels a chance and try them in your
project?


On Wed, Dec 2, 2015 at 2:41 PM, Gary Gregory <garydgreg...@gmail.com> wrote:

> I don't want to deal with custom projects in this case I am dealing with
> now, and I also think that custom levels play well for domain-specific
> levels, not to augment the current system. For example, DEFCON1 through 5,
> Hurricane force winds, medical device alerts, things like that. IMO, adding
> levels to the current system is a no-brainer, but, I'm not the boss here ;-)
>
> Gary
>
> On Tue, Dec 1, 2015 at 8:01 AM, Remko Popma <remko.po...@gmail.com> wrote:
>
>> This is a divisive issue and I really don't want to spark up the
>> discussion again, but have you tried using custom levels for this in your
>> projects?
>>
>> On Mon, Nov 30, 2015 at 10:30 PM, Gary Gregory (JIRA) <j...@apache.org>
>> wrote:
>>
>>>
>>>     [
>>> https://issues.apache.org/jira/browse/LOG4J2-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15031765#comment-15031765
>>> ]
>>>
>>> Gary Gregory commented on LOG4J2-508:
>>> -------------------------------------
>>>
>>> This discussion comes up every once in a while, it is not a done deal
>>> either way IMO. Not for 2.5 in order to RERO, but still open for
>>> discussion, which is why I'd like to leave this ticket open.
>>>
>>> > Add new Levels: NOTICE, DIAG, VERBOSE.
>>> > --------------------------------------
>>> >
>>> >                 Key: LOG4J2-508
>>> >                 URL: https://issues.apache.org/jira/browse/LOG4J2-508
>>> >             Project: Log4j 2
>>> >          Issue Type: Improvement
>>> >          Components: API
>>> >    Affects Versions: 2.0-beta9
>>> >         Environment: Apache Maven 3.1.1
>>> (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 11:22:22-0400)
>>> > Maven home: C:\Java\apache-maven-3.1.1\bin\..
>>> > Java version: 1.7.0_51, vendor: Oracle Corporation
>>> > Java home: C:\Program Files\Java\jdk1.7.0_51\jre
>>> > Default locale: en_US, platform encoding: Cp1252
>>> > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>>> >            Reporter: Gary Gregory
>>> >             Fix For: 2.3
>>> >
>>> >
>>> > Discussion thread:
>>> https://mail-archives.apache.org/mod_mbox/logging-log4j-dev/201401.mbox/ajax/%3CBD972E2F-C818-47BD-BB9E-168D52D5D980%40nicholaswilliams.net%3E
>>> > The levels:
>>> > - FATAL - Hopefully, almost never logged because the system is
>>> crashing.
>>> > - ERROR - Something affecting the usability of the system occurred.
>>> > - WARN - Something not nice, but probably recoverable occurred. May
>>> lead to errors later.
>>> > - NOTICE - An event for normal, but significant, conditions.
>>> > - INFO - Something of general interest, but not necessarily
>>> significant.
>>> > - DIAG or DIAGNOSTIC - Events that can be used by operations or users
>>> to diagnose problems in the system.
>>> > - DEBUG - Used by developers for internal debugging.
>>> > - VERBOSE - Used to log minute details of the system.  As its
>>> dictionary definition implies this is extremely chatty.
>>> > - TRACE - Adds tracing of method entry and exit, possibly object
>>> creation and initialization.
>>> > From (with the NOTICE level added)
>>> https://mail-archives.apache.org/mod_mbox/logging-log4j-dev/201401.mbox/browser
>>>
>>>
>>>
>>> --
>>> This message was sent by Atlassian JIRA
>>> (v6.3.4#6332)
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
>>> For additional commands, e-mail: log4j-dev-h...@logging.apache.org
>>>
>>>
>>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@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
>

Reply via email to