[LOGBack-dev] svn commit: r589 - logback/trunk/logback-site/src/site/fml
noreply.seb at qos.ch
noreply.seb at qos.ch
Thu Sep 14 19:54:28 CEST 2006
Author: seb
Date: Thu Sep 14 19:54:28 2006
New Revision: 589
Modified:
logback/trunk/logback-site/src/site/fml/codes.fml
Log:
- added questions/answers
- formatted xml to display properly
Modified: logback/trunk/logback-site/src/site/fml/codes.fml
==============================================================================
--- logback/trunk/logback-site/src/site/fml/codes.fml (original)
+++ logback/trunk/logback-site/src/site/fml/codes.fml Thu Sep 14 19:54:28 2006
@@ -49,13 +49,11 @@
You can specify the remote host in the
configuration file like this:
</p>
- <pre>
-<appender name="SOCKET" class="ch.qos.logback.classic.net.SocketAppender">
+ <source><appender name="SOCKET" class="ch.qos.logback.classic.net.SocketAppender">
...
- <param name="remoteHost" value="127.0.0.1" />
+ <param name="remoteHost" value="127.0.0.1" />
...
-</appender>
- </pre>
+</appender></source>
</answer>
</faq>
<faq id="socket_no_port">
@@ -74,13 +72,11 @@
You can specify the remote port in the
configuration file like this:
</p>
- <pre>
-<appender name="SOCKET" class="ch.qos.logback.classic.net.SocketAppender">
+ <source><appender name="SOCKET" class="ch.qos.logback.classic.net.SocketAppender">
...
- <param name="port" value="4560" />
+ <param name="port" value="4560" />
...
-</appender>
- </pre>
+</appender></source>
</answer>
</faq>
<faq id="smtp_no_tp">
@@ -104,13 +100,11 @@
<code>TriggeringPolicy</code>
in the configuration file like this:
</p>
- <pre>
-<appender name="SOCKET" class="ch.qos.logback.classic.net.SocketAppender">
+ <source><appender name="SOCKET" class="ch.qos.logback.classic.net.SocketAppender">
...
- <param name="port" value="4560"/>
+ <param name="port" value="4560"/>
...
-</appender>
- </pre>
+</appender></source>
</answer>
</faq>
<faq id="smtp_no_layout">
@@ -141,15 +135,13 @@
<code>Layout</code>
in the configuration file like this:
</p>
- <pre>
-<appender name="SMTP" class="ch.qos.logback.classic.net.SMTPAppender">
+ <source><appender name="SMTP" class="ch.qos.logback.classic.net.SMTPAppender">
...
- <layout class="ch.qos.logback.classic.PatternLayout">
- <param name="pattern" value="%-4relative [%thread] %-5level %class - %msg%n" />
- </layout>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <param name="pattern" value="%-4relative [%thread] %-5level %class - %msg%n" />
+ </layout>
...
-</appender>
- </pre>
+</appender></source>
</answer>
</faq>
<faq id="sbtp_size_format">
More information about the logback-dev
mailing list