[logback-dev] svn commit: r903 - logback/trunk/logback-site/src/site/xdocTemplates/manual
noreply.seb at qos.ch
noreply.seb at qos.ch
Mon Nov 13 14:28:40 CET 2006
Author: seb
Date: Mon Nov 13 14:28:40 2006
New Revision: 903
Modified:
logback/trunk/logback-site/src/site/xdocTemplates/manual/index.xml
logback/trunk/logback-site/src/site/xdocTemplates/manual/layouts.xml
Log:
minor fix
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 Mon Nov 13 14:28:40 2006
@@ -34,7 +34,7 @@
<p>
If you wish to print chapters in this document, we recommend
that you do so using <a
- href="http://www.getfirefox.com">Firefox</a>, with <em>Adapt to
+ href="http://www.getfirefox.com">Firefox 2</a>, with <em>Adapt to
page size</em> enabled, or <a
href="http://www.opera.com">Opera</a>.
</p>
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 Nov 13 14:28:40 2006
@@ -266,21 +266,21 @@
the two setter methods are the only addition to the original class. Yet, it is sufficient
to allow the user to configure these attributes, as shown in the configuration file below:</p>
-<div class="source"><pre>%lt;configuration>
+<div class="source"><pre><configuration>
- %lt;appender name="STDOUT"
+ <appender name="STDOUT"
class="ch.qos.logback.core.ConsoleAppender">
- %lt;layout class="chapter5.MySampleLayout2">
- <b>%lt;prefix>MyPrefix%lt;/prefix>
- %lt;printThreadName>false%lt;/printThreadName></b>
- %lt;/layout>
- %lt;/appender>
-
- %lt;root>
- %lt;level value="debug" />
- %lt;appender-ref ref="STDOUT" />
- %lt;/root>
-%lt;/configuration></pre></div>
+ <layout class="chapter5.MySampleLayout2">
+ <b><prefix>MyPrefix</prefix>
+ <printThreadName>false</printThreadName></b>
+ </layout>
+ </appender>
+
+ <root>
+ <level value="debug" />
+ <appender-ref ref="STDOUT" />
+ </root>
+</configuration></pre></div>
<p>
Note that the <code>PrintThreadName</code> attribute is a boolean
@@ -373,6 +373,12 @@
will be explained in a short moment.
</p>
<p>
+ Note that usual brackets chars <em>(</em>
+ and <em>)</em> need to be escaped to be parsed correctly. These
+ brackets can be used by adding two backslashes before the bracket
+ like in <em>\\)</em> and <em>\\)</em>.
+ </p>
+ <p>
As mentionned previously, certain conversion specifiers can include
optional parameters which are declared
between braces following the conversion word. A sample conversion
More information about the logback-dev
mailing list