[logback-dev] svn commit: r813 - in logback/trunk: logback-access/src/main/java/ch/qos/logback/access/spi logback-site/src/site/xdocTemplates/manual

noreply.seb at qos.ch noreply.seb at qos.ch
Mon Oct 30 11:18:33 CET 2006


Author: seb
Date: Mon Oct 30 11:18:33 2006
New Revision: 813

Modified:
   logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
   logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml

Log:
minor fix
deleted some comments

Modified: logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java
==============================================================================
--- logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java	(original)
+++ logback/trunk/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java	Mon Oct 30 11:18:33 2006
@@ -265,19 +265,6 @@
       if (httpResponse != null) {
         contentLength = serverAdapter.getContentLength();
         return contentLength;
-        // if (httpResponse instanceof org.mortbay.jetty.Response) {
-        // // TODO
-        // } else if (httpResponse instanceof
-        // com.caucho.server.connection.AbstractHttpResponse) {
-        // contentLength = ((com.caucho.server.connection.AbstractHttpResponse)
-        // httpResponse)
-        // .getContentLength();
-        // } else if (httpResponse instanceof
-        // org.apache.catalina.connector.Response) {
-        // contentLength = ((org.apache.catalina.connector.Response)
-        // httpResponse)
-        // .getContentLength();
-        // }
       }
     }
     return contentLength;
@@ -287,18 +274,6 @@
     if (statusCode == SENTINEL) {
       if (httpResponse != null) {
         statusCode = serverAdapter.getStatusCode();
-        // if (httpResponse instanceof org.mortbay.jetty.Response) {
-        // statusCode = ((org.mortbay.jetty.Response) httpResponse).getStatus();
-        // } else if (httpResponse instanceof
-        // com.caucho.server.connection.AbstractHttpResponse) {
-        // statusCode = ((com.caucho.server.connection.AbstractHttpResponse)
-        // httpResponse)
-        // .getStatusCode();
-        // } else if (httpResponse instanceof
-        // org.apache.catalina.connector.Response) {
-        // statusCode = ((org.apache.catalina.connector.Response) httpResponse)
-        // .getStatus();
-        // }
       }
     }
     return statusCode;

Modified: logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml
==============================================================================
--- logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml	(original)
+++ logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml	Mon Oct 30 11:18:33 2006
@@ -1235,8 +1235,7 @@
 <em> Example 5.4: Sample Converter Example (examples/chapter5/mySampleConverterConfig.xml)</em>
 <div class="source"><pre>&lt;configuration>
 
-  <b>&lt;conversionRule conversionWord="sample" converterClass="chapter5. \
-  MySampleConverter" /></b>
+  <b>&lt;conversionRule conversionWord="sample" converterClass="chapter5.MySampleConverter" /></b>
 	
   &lt;appender name="STDOUT"
     class="ch.qos.logback.core.ConsoleAppender">



More information about the logback-dev mailing list