logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1580991 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/migration.xml
Date Mon, 24 Mar 2014 18:49:42 GMT
Author: ggregory
Date: Mon Mar 24 18:49:42 2014
New Revision: 1580991

URL: http://svn.apache.org/r1580991
Log:
Improve migration docs.

Modified:
    logging/log4j/log4j2/trunk/src/site/xdoc/manual/migration.xml

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/migration.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/migration.xml?rev=1580991&r1=1580990&r2=1580991&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/migration.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/migration.xml Mon Mar 24 18:49:42 2014
@@ -63,6 +63,10 @@
                   mechanisms.
                 </li>
                 <li>
+                  Replace calls to <code>org.apache.log4j.Logger.getEffectiveLevel()</code>
with 
+                  <code>org.apache.logging.log4j.Logger.getLevel()</code>.
+                </li>
+                <li>
                   Remove calls to <code>org.apache.log4j.LogManager.shutdown()</code>,
they are not needed in version 2 
                   because the Log4j Core now automatically adds a JVM shutdown hook on start
up to perform any Core 
                   clean ups. 



Mime
View raw message