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 <[email protected]> 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) <[email protected]> > 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: [email protected] >> For additional commands, e-mail: [email protected] >> >> > -- E-Mail: [email protected] | [email protected] 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
