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 "Bruce Brouwer (JIRA)" <ji...@apache.org> on 2014/03/01 21:25:20 UTC

[jira] [Commented] (LOG4J2-508) Add new Levels: NOTICE, DIAG, VERBOSE.

    [ https://issues.apache.org/jira/browse/LOG4J2-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917182#comment-13917182 ] 

Bruce Brouwer commented on LOG4J2-508:
--------------------------------------

My vote would be to not add this to the core log4j api. There are some other issues (like LOG4J2-519) that talk about making custom logger interfaces which might handle this use case.

> 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.0-rc2
>
>
> 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.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org