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 Ralph Goers <ra...@dslextreme.com> on 2014/01/22 07:37:21 UTC
Re: svn commit: r1560242 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
Gary - since this will break binary compatibility it definitely needs a comment in changes.xml. I will also want to call it out in the release notes.
Ralph
On Jan 21, 2014, at 7:10 PM, ggregory@apache.org wrote:
> Author: ggregory
> Date: Wed Jan 22 03:10:53 2014
> New Revision: 1560242
>
> URL: http://svn.apache.org/r1560242
> Log:
> Implement Ralph's suggestion to space apart level numbers by 100 instead of by 1.
>
> Modified:
> logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
>
> Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
> URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java?rev=1560242&r1=1560241&r2=1560242&view=diff
> ==============================================================================
> --- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java (original)
> +++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java Wed Jan 22 03:10:53 2014
> @@ -45,32 +45,32 @@ public enum Level {
> /**
> * A severe error that will prevent the application from continuing.
> */
> - FATAL(1),
> + FATAL(100),
>
> /**
> * An error in the application, possibly recoverable.
> */
> - ERROR(2),
> + ERROR(200),
>
> /**
> * An event that might possible lead to an error.
> */
> - WARN(3),
> + WARN(300),
>
> /**
> * An event for informational purposes.
> */
> - INFO(4),
> + INFO(400),
>
> /**
> * A general debugging event.
> */
> - DEBUG(5),
> + DEBUG(500),
>
> /**
> * A fine-grained debug message, typically capturing the flow through the application.
> */
> - TRACE(6),
> + TRACE(600),
>
> /**
> * All events should be logged.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
Re: svn commit: r1560242 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
Posted by Gary Gregory <ga...@gmail.com>.
I'll create a JIRA...
Gary
On Wed, Jan 22, 2014 at 1:37 AM, Ralph Goers <ra...@dslextreme.com>wrote:
> Gary - since this will break binary compatibility it definitely needs a
> comment in changes.xml. I will also want to call it out in the release
> notes.
>
> Ralph
>
> On Jan 21, 2014, at 7:10 PM, ggregory@apache.org wrote:
>
> > Author: ggregory
> > Date: Wed Jan 22 03:10:53 2014
> > New Revision: 1560242
> >
> > URL: http://svn.apache.org/r1560242
> > Log:
> > Implement Ralph's suggestion to space apart level numbers by 100 instead
> of by 1.
> >
> > Modified:
> >
> logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
> >
> > Modified:
> logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
> > URL:
> http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java?rev=1560242&r1=1560241&r2=1560242&view=diff
> >
> ==============================================================================
> > ---
> logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
> (original)
> > +++
> logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
> Wed Jan 22 03:10:53 2014
> > @@ -45,32 +45,32 @@ public enum Level {
> > /**
> > * A severe error that will prevent the application from continuing.
> > */
> > - FATAL(1),
> > + FATAL(100),
> >
> > /**
> > * An error in the application, possibly recoverable.
> > */
> > - ERROR(2),
> > + ERROR(200),
> >
> > /**
> > * An event that might possible lead to an error.
> > */
> > - WARN(3),
> > + WARN(300),
> >
> > /**
> > * An event for informational purposes.
> > */
> > - INFO(4),
> > + INFO(400),
> >
> > /**
> > * A general debugging event.
> > */
> > - DEBUG(5),
> > + DEBUG(500),
> >
> > /**
> > * A fine-grained debug message, typically capturing the flow
> through the application.
> > */
> > - TRACE(6),
> > + TRACE(600),
> >
> > /**
> > * All events should be logged.
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>
>
--
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