logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1502793 - /logging/log4j/log4j2/trunk/src/site/xdoc/manual/migration.xml
Date Sat, 13 Jul 2013 14:39:09 GMT
Author: ggregory
Date: Sat Jul 13 14:39:08 2013
New Revision: 1502793

URL: http://svn.apache.org/r1502793
Log:
[LOG4J2-305] Ease porting from 1.x Logger.getRootLogger(): add LogManager.getRootLogger().

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=1502793&r1=1502792&r2=1502793&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/migration.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/migration.xml Sat Jul 13 14:39:08 2013
@@ -48,7 +48,7 @@
                 <li>Calls to <code>Logger.getLogger()</code> must be modified
to <code>LogManager.getLogger()</code>.
                 </li>
                 <li>Calls to <code>Logger.getRootLogger()</code> or <code>LogManager.getRootLogger()</code>
must be 
-                  replaced with <code>LogManager.getLogger("")</code>.</li>
+                  replaced with <code>LogManager.getRootLogger()</code>.</li>
                 <li>Calls to <code>LogManager.getLogger</code> that accept
a <code>LoggerFactory</code> must remove the
                   <code>LoggerFactory</code> and use one of Log4j 2's other extension
mechanisms.</li>
                 <li>Calls to <code>logger.setLevel()</code> or similar
methods are not supported in the API. 



Mime
View raw message