diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2010-06-09 15:52:07 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2010-06-09 15:52:07 +0000 |
| commit | da5d14eb7aee6541779fcff82abbd9c53a003d80 (patch) | |
| tree | e253dd52802b8f92ce11b772931ec84216d6aaaa /qpid/doc/book/src/Programming-In-Apache-Qpid.xml | |
| parent | 4f7efe697023e9b654e5ceef9648204a322ce779 (diff) | |
| download | qpid-python-da5d14eb7aee6541779fcff82abbd9c53a003d80.tar.gz | |
Added a closing tag which was missing.
Added a few tips in the java logging section.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@953050 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/doc/book/src/Programming-In-Apache-Qpid.xml')
| -rw-r--r-- | qpid/doc/book/src/Programming-In-Apache-Qpid.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/qpid/doc/book/src/Programming-In-Apache-Qpid.xml b/qpid/doc/book/src/Programming-In-Apache-Qpid.xml index 0995cc63c4..2c8db34866 100644 --- a/qpid/doc/book/src/Programming-In-Apache-Qpid.xml +++ b/qpid/doc/book/src/Programming-In-Apache-Qpid.xml @@ -2947,8 +2947,13 @@ producer.send(m); <title>JMS Client Loggin</title> <para>The JMS Client logging is handled using <ulink url="http://www.slf4j.org/">SLF4J</ulink>. A user can place a slf4j binding of their choice in the classpath and configure the respective logging mechanism to suit their needs. Ex bindings include log4j, jdk1.4 logging ..etc</para> - <para>Following is an example on how to configure Qpid logging with the log4j binding.</para> + <para>Following is an example on how to configure the client logging with the log4j binding.</para> + <para>For more information on how to configure log4j, please consult the log4j documentation.</para> + + <para>If using the log4j binding please ensure to set the log level explicitly. Otherwise log4j will default to DEBUG level which will degrade performance.</para> + + <example> <para>You could place the snippet below in a log4j.properties file and place it in the classpath or explicitly specify it using the -Dlog4j.configuration property. The following configures the qpid client to log at the WARN level</para> <programlisting><![CDATA[ log4j.logger.org.apache.qpid=WARN, console @@ -2959,6 +2964,8 @@ 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> </chapter> <chapter id="QpidWCF"> |
