Author: robbie
Date: Sun May 15 14:50:14 2016
New Revision: 1743911
URL: http://svn.apache.org/viewvc?rev=1743911&view=rev
Log:
QPID-7265: move the logging fetails under the 'configuring' section
Modified:
qpid/java/trunk/doc/jms-client-0-10/src/docbkx/JMS-Client-0-10-Book.xml
Modified:
qpid/java/trunk/doc/jms-client-0-10/src/docbkx/JMS-Client-0-10-Book.xml
URL:
http://svn.apache.org/viewvc/qpid/java/trunk/doc/jms-client-0-10/src/docbkx/JMS-Client-0-10-Book.xml?rev=1743911&r1=1743910&r2=1743911&view=diff
==============================================================================
--- qpid/java/trunk/doc/jms-client-0-10/src/docbkx/JMS-Client-0-10-Book.xml
(original)
+++ qpid/java/trunk/doc/jms-client-0-10/src/docbkx/JMS-Client-0-10-Book.xml Sun
May 15 14:50:14 2016
@@ -172,29 +172,7 @@ destination.topicExchange = amq.topic <c
</section>
- <section xml:id="section-JMS-Logging">
- <title>JMS Client Logging</title>
- <para>The JMS Client logging is handled using the Simple Logging Facade
for Java (<link xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www.slf4j.org/">SLF4J</link>). As the name implies, slf4j is
a facade that delegates to other logging systems like log4j or JDK 1.4 logging.
For more information on how to configure slf4j for specific logging systems,
please consult the slf4j documentation.</para>
-
- <para>When using the log4j binding, please set the log level for
org.apache.qpid explicitly. Otherwise log4j will default to DEBUG which will
degrade performance considerably due to excessive logging. The recommended
logging level for production is <literal>WARN</literal>.</para>
-
- <para>The following example shows the logging properties used to
configure client logging for slf4j using the log4j binding. These properties
can be placed in a log4j.properties file and placed in the
<varname>CLASSPATH</varname>, or they can be set explicitly using the
<literal>-Dlog4j.configuration</literal> property.</para>
-
- <example>
- <title>log4j Logging Properties</title>
-
- <programlisting>
- log4j.logger.org.apache.qpid=WARN, console
- log4j.additivity.org.apache.qpid=false
-
- log4j.appender.console=org.apache.log4j.ConsoleAppender
- log4j.appender.console.Threshold=all
- log4j.appender.console.layout=org.apache.log4j.PatternLayout
- log4j.appender.console.layout.ConversionPattern=%t %d %p [%c{4}] %m%n
- </programlisting>
- </example>
- </section>
<section>
<title>Configuring the JMS Client</title>
@@ -2198,9 +2176,36 @@ spout - -content "$(cat rdu.xml | sed -e
<listitem><para><emphasis>queue</emphasis>: this is the default
node-type</para></listitem>
</itemizedlist>
</section>
- <!-- end addresses subsection -->
- </section>
+ </section>
+ <!-- end addresses subsection -->
+
+
+ <!-- begin logging section -->
+ <section xml:id="section-JMS-Logging">
+ <title>JMS Client Logging</title>
+ <para>The JMS Client logging is handled using the Simple Logging Facade
for Java (<link xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www.slf4j.org/">SLF4J</link>). As the name implies, slf4j is
a facade that delegates to other logging systems like log4j or JDK 1.4 logging.
For more information on how to configure slf4j for specific logging systems,
please consult the slf4j documentation.</para>
+
+ <para>When using the log4j binding, please set the log level for
org.apache.qpid explicitly. Otherwise log4j will default to DEBUG which will
degrade performance considerably due to excessive logging. The recommended
logging level for production is <literal>WARN</literal>.</para>
+
+ <para>The following example shows the logging properties used to
configure client logging for slf4j using the log4j binding. These properties
can be placed in a log4j.properties file and placed in the
<varname>CLASSPATH</varname>, or they can be set explicitly using the
<literal>-Dlog4j.configuration</literal> property.</para>
+
+ <example>
+ <title>log4j Logging Properties</title>
+
+ <programlisting>
+ log4j.logger.org.apache.qpid=WARN, console
+ log4j.additivity.org.apache.qpid=false
+
+ log4j.appender.console=org.apache.log4j.ConsoleAppender
+ log4j.appender.console.Threshold=all
+ log4j.appender.console.layout=org.apache.log4j.PatternLayout
+ log4j.appender.console.layout.ConversionPattern=%t %d %p [%c{4}] %m%n
+ </programlisting>
+ </example>
+ </section>
+ <!-- end logging section -->
+
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]