[logback-dev] svn commit: r1246 - in logback/trunk: logback-access/src/main/java/ch/qos/logback/access/pattern logback-site/src/site/xdocTemplates/manual logback-skin/src/main/resources/css

noreply.seb at qos.ch noreply.seb at qos.ch
Wed Jan 17 21:52:51 CET 2007


Author: seb
Date: Wed Jan 17 21:52:51 2007
New Revision: 1246

Modified:
   logback/trunk/logback-access/src/main/java/ch/qos/logback/access/pattern/FullRequestConverter.java
   logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml
   logback/trunk/logback-skin/src/main/resources/css/site.css

Log:
Documentation update about new converters in Access 
Slight CSS modification

Modified: logback/trunk/logback-access/src/main/java/ch/qos/logback/access/pattern/FullRequestConverter.java
==============================================================================
--- logback/trunk/logback-access/src/main/java/ch/qos/logback/access/pattern/FullRequestConverter.java	(original)
+++ logback/trunk/logback-access/src/main/java/ch/qos/logback/access/pattern/FullRequestConverter.java	Wed Jan 17 21:52:51 2007
@@ -6,7 +6,7 @@
 import ch.qos.logback.core.Layout;
 
 /**
- * This class is tied to the <code>requestContent</code> conversion word.
+ * This class is tied to the <code>fullRequest</code> conversion word.
  * <p>
  * It has been removed from the {@link ch.qos.logback.access.PatternLayout} since
  * it needs further testing before wide use.

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	Wed Jan 17 21:52:51 2007
@@ -1502,6 +1502,9 @@
 				<p>This conversion word takes the first option in braces and looks
 				for the corresponding header in the request.</p>
 				<p><b>%header{Referer}</b> displays the referer of the request.</p>
+        <p>
+        If no option is specified, it displays every available header.
+        </p>
 			</td>
 		</tr>	
 		<tr>
@@ -1625,6 +1628,31 @@
 				<p><b>%header{Referer}</b> displays the referer of the response.</p>
 			</td>
 		</tr>
+    <tr>
+      <td align="center"><b>requestContent</b></td>
+      <td>
+        <p>
+          This conversion word displays the content of the request, that is the
+          request's <code>InputStream</code>. It is used in conjunction with a
+          <a href="../xref/ch/qos/logback/access/servlet/TeeFilter.html">
+          <code>TeeFilter</code></a>, a <code>javax.servlet.Filter</code> that 
+          replaces the original <code>HttpServletRequest</code> 
+          by a <a href="../xref/ch/qos/logback/access/servlet/TeeHttpServletRequest.html">
+          <code>TeeHttpServletRequest</code></a>. The latter object allows
+          access to the requet's <code>InputStream</code> multiple times without
+          any loss of data.
+        </p>
+      </td>
+    </tr>
+    <tr>
+      <td align="center"><b>fullRequest</b></td>
+      <td>
+        <p>
+          This conversion word takes all the available headers of the
+          request and displays their values.
+        </p>
+      </td>
+    </tr>
 		</table>
 		
 		<p>Logback access' <code>PatternLayout</code> also recognize three keywords, which

Modified: logback/trunk/logback-skin/src/main/resources/css/site.css
==============================================================================
--- logback/trunk/logback-skin/src/main/resources/css/site.css	(original)
+++ logback/trunk/logback-skin/src/main/resources/css/site.css	Wed Jan 17 21:52:51 2007
@@ -230,23 +230,19 @@
 table.bodyTable th {
 	color: white;
 	background-color: #bbb;
-	text-align: left;
 	font-weight: bold;
 }
 
 table.bodyTable th,table.bodyTable td {
 	font-size: 1em;
-	text-align:center;
 }
 
 table.bodyTable tr.a {
 	background-color: #ddd;
-	text-align: center;
 }
 
 table.bodyTable tr.b {
 	background-color: #eee;
-	text-align: center;
 }
 
 .source {



More information about the logback-dev mailing list