[maven-release-plugin] copy for tag log4j-2.0-beta8
git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0-beta8@1502002 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 25ec79c..c035669 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -33,11 +33,12 @@
o LOG4J2-275: FlumeAvroManager fails to notify client of failing event if Flume RPCClient cannot be created.
Changes:
+o LOG4J2-270: Improved logging initialization in Servlet containers, especially Servlet 3.0 and newer where Log4j now
+ initializes and deinitializes automatically with no deployment descriptor configuration.
o LOG4J2-301: Add printf methods to Logger API.
o LOG4J2-282: Allow the default status level to be specified as a system property.
o LOG4J2-294: LogManager.getLogger can now be called without a logger name or with a null logger name.
o LOG4J2-288: Update JUnit to 4.11 from 4.7.
-o LOG4J2-287: Update Hibernate to 4.3 beta3 from beta2.
o LOG4J2-286: Update test H2 JDBC driver to 1.172 from 1.171.
o LOG4J2-285: Update Jansi jar to 1.11 from 1.9.
o LOG4J2-284: Update Log4j 1 dependency to 1.2.17 from 1.2.16.
diff --git a/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java b/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
index 0679e81..f469f40 100644
--- a/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
+++ b/api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
@@ -1470,7 +1470,7 @@
* @param params Arguments specified by the format.
*/
public void printf(Level level, Marker marker, String format, Object... params) {
- if (isEnabled(level, null, format, params)) {
+ if (isEnabled(level, marker, format, params)) {
Message msg = new StringFormattedMessage(format, params);
log(marker, FQCN, level, msg, msg.getThrowable());
}
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9fc1170..70a5310 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -21,6 +21,10 @@
</properties>
<body>
<release version="2.0-beta8" date="2013-07-10" description="Bug fixes and enhancements">
+ <action issue="LOG4J2-270" dev="nickwilliams" type="update">
+ Improved logging initialization in Servlet containers, especially Servlet 3.0 and newer where Log4j now
+ initializes and deinitializes automatically with no deployment descriptor configuration.
+ </action>
<action issue="LOG4J2-302" dev="rpopma" type="fix">
Added toString methods to ThreadContextStack/Map implementation classes.
</action>
@@ -72,9 +76,6 @@
<action issue="LOG4J2-288" dev="gregory" type="update">
Update JUnit to 4.11 from 4.7.
</action>
- <action issue="LOG4J2-287" dev="gregory" type="update">
- Update Hibernate to 4.3 beta3 from beta2.
- </action>
<action issue="LOG4J2-286" dev="gregory" type="update">
Update test H2 JDBC driver to 1.172 from 1.171.
</action>