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, ggreg...@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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org