[logback-dev] svn commit: r911 - logback/trunk/logback-site/src/site/xdocTemplates/manual

noreply.seb at qos.ch noreply.seb at qos.ch
Tue Nov 14 12:12:10 CET 2006


Author: seb
Date: Tue Nov 14 12:12:10 2006
New Revision: 911

Modified:
   logback/trunk/logback-site/src/site/xdocTemplates/manual/appenders.xml
   logback/trunk/logback-site/src/site/xdocTemplates/manual/index.xml
   logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml

Log:
minor fixes

Modified: logback/trunk/logback-site/src/site/xdocTemplates/manual/appenders.xml
==============================================================================
--- logback/trunk/logback-site/src/site/xdocTemplates/manual/appenders.xml	(original)
+++ logback/trunk/logback-site/src/site/xdocTemplates/manual/appenders.xml	Tue Nov 14 12:12:10 2006
@@ -394,7 +394,7 @@
 
 	<p>
 		To run this example, as well as others in this
-		chapter, please run the script provided in logback's main directory. 
+		chapter, please run the script provided in the <em>logback-examples</em> directory. 
 		Then, use the <code>ConfigurationTester</code> by
 		issuing the following command, once in the <em>logback-examples</em> directory:
 	</p>
@@ -1728,6 +1728,9 @@
   &lt;/root>  
 &lt;/configuration></pre></div>
 
+
+
+
 		<h3>DBAppender</h3>
 		
 		<p>
@@ -1744,11 +1747,11 @@
 			is a specific script for each of the most popular database systems. 
 			If the script for your particular type of database system is missing, it should be
 			quite easy to write one, taking example on the already existing scripts. If
-			you send them to us, we will gladly include missing scripts in future
+			you send them to us, we will gladly include missing scripts in future releases.
 		</p>
 
 		<p>
-			If the JDBC driver you are using supports the
+			If your JDBC driver supports the
 			<code>getGeneratedKeys</code> method introduced in
 			JDBC 3.0 specification, then no more steps are required, excluding usual
 			configuration. 

Modified: logback/trunk/logback-site/src/site/xdocTemplates/manual/index.xml
==============================================================================
--- logback/trunk/logback-site/src/site/xdocTemplates/manual/index.xml	(original)
+++ logback/trunk/logback-site/src/site/xdocTemplates/manual/index.xml	Tue Nov 14 12:12:10 2006
@@ -40,8 +40,9 @@
     </p>
     <p>
     	To run the examples provided in this book, you might have
-    	to add the logback jars to your classpath. They are available
-    	on our <a href="../download.html">download page</a>.
+    	to run the provided script to setup your classpath. The scripts
+    	can be found in the logback distributions, inside the <em>logback-examples</em>
+    	directory.
     </p>
     </div>
 

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	Tue Nov 14 12:12:10 2006
@@ -191,10 +191,14 @@
 		<p>The sample application <code>chapter5.SampleLogging</code> configures logback with the 
 		configuration script supplied as parameter and then logs a debug message, 
 		followed by an error message. 
-		See <em>examples/chapter5/SampleLogging.java</em> for precise details.</p>
+		See <em>src/main/java/chapter5/SampleLogging.java</em> for precise details.</p>
 		
-		<p>Executing the command <em>java chapter5.SampleLogging chapter5/sampleLayoutConfig.xml</em> 
-		will produce the following output:</p>
+		<p>
+		To run this example, as well as others in this
+		chapter, please run the script provided in the <em>logback-examples</em> directory.
+		Executing the command <em>java chapter5.SampleLogging src/main/java/chapter5/sampleLayoutConfig.xml</em> 
+		once in the <em>logback-examples</em> directory will produce the following output:
+		</p>
 		
 <div class="source"><pre>0 DEBUG [main] chapter5.SampleLogging - Everything's going well
 0 ERROR [main] chapter5.SampleLogging - ... not quite</pre></div>
@@ -1047,7 +1051,7 @@
 			Example 5.2: Sample usage of EventEvaluators
 			(logback-examples/src/main/java/chapter5/CallerEvaluatorExample.java)
 		</em>
-		<div class="source"><pre>ppackage chapter5;
+		<div class="source"><pre>package chapter5;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -1205,7 +1209,7 @@
 		<p>Let us say that our customized <code>Converter</code> will output the level of the logging
 		event, colored following ANSI rules. Here is the necessary implementation:</p>
 		
-<em> Example 5.4: Sample Converter Example (examples/chapter5/MySampleConverter.java)</em>
+<em> Example 5.4: Sample Converter Example (src/main/java/chapter5/MySampleConverter.java)</em>
 <div class="source"><pre>package chapter5;
 
 import ch.qos.logback.classic.Level;
@@ -1255,7 +1259,7 @@
 		the new <code>Converter</code>. For this task, we just need to declare the new
 		conversion word in the configuration file, as shown below:</p>
 		
-<em> Example 5.4: Sample Converter Example (examples/chapter5/mySampleConverterConfig.xml)</em>
+<em> Example 5.4: Sample Converter Example (src/main/java/chapter5/mySampleConverterConfig.xml)</em>
 <div class="source"><pre>&lt;configuration>
 
   <b>&lt;conversionRule conversionWord="sample" converterClass="chapter5.MySampleConverter" /></b>



More information about the logback-dev mailing list