[logback-dev] svn commit: r2394 - logback/trunk/logback-site/src/site/pages/manual

noreply.ceki at qos.ch noreply.ceki at qos.ch
Fri Jul 31 18:29:28 CEST 2009


Author: ceki
Date: Fri Jul 31 18:29:28 2009
New Revision: 2394

Modified:
   logback/trunk/logback-site/src/site/pages/manual/appenders.html
   logback/trunk/logback-site/src/site/pages/manual/architecture.html

Log:
- replaced references to LoggerContext.ROOT_NAME with references to org.slf4j.Logger.ROOT_LOGGER_NAME

Modified: logback/trunk/logback-site/src/site/pages/manual/appenders.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/manual/appenders.html	(original)
+++ logback/trunk/logback-site/src/site/pages/manual/appenders.html	Fri Jul 31 18:29:28 2009
@@ -320,7 +320,7 @@
     writerAppender.setWriter(new OutputStreamWriter(os));
     writerAppender.setImmediateFlush(false);
     writerAppender.start();
-    Logger root = lc.getLogger(LoggerContext.ROOT_NAME);
+    Logger root = lc.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME);
     root.addAppender(writerAppender);
 
     Logger logger = lc.getLogger(ExitWoes1.class);

Modified: logback/trunk/logback-site/src/site/pages/manual/architecture.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/manual/architecture.html	(original)
+++ logback/trunk/logback-site/src/site/pages/manual/architecture.html	Fri Jul 31 18:29:28 2009
@@ -125,7 +125,8 @@
 		follows:
 		</p>
 		
-    <p class="source">Logger rootLogger = LoggerFactory.getLogger(<a href="../apidocs/constant-values.html#ch.qos.logback.classic.LoggerContext.ROOT_NAME">LoggerContext.<em>ROOT_NAME</em></a>);</p>
+    <p class="source">Logger rootLogger = LoggerFactory.getLogger(<a
+    href="http://www.slf4j.org/apidocs/constant-values.html#org.slf4j.Logger.ROOT_LOGGER_NAME">org.slf4j.Logger.ROOT_LOGGER_NAME</a>);</p>
 
 		<p>All other loggers are also retrieved with the class static
 		<code>getLogger</code> method found in the <a


More information about the logback-dev mailing list