activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r918755 - in /websites/production/activemq/content: cache/main.pageCache logging-interceptor.html
Date Fri, 08 Aug 2014 17:20:58 GMT
Author: buildbot
Date: Fri Aug  8 17:20:58 2014
New Revision: 918755

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/logging-interceptor.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/logging-interceptor.html
==============================================================================
--- websites/production/activemq/content/logging-interceptor.html (original)
+++ websites/production/activemq/content/logging-interceptor.html Fri Aug  8 17:20:58 2014
@@ -83,7 +83,7 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="LoggingInterceptor-LoggingInterceptor">Logging
Interceptor</h2><p>The Logging Interceptor is a pretty trivial <a shape="rect"
href="interceptors.html">Interceptor</a> which just logs to <a shape="rect" class="external-link"
href="http://jakarta.apache.org/commons/logging/">Jakarta Commons Logging</a> or
<a shape="rect" class="external-link" href="http://logging.apache.org/log4j/docs/">log4j</a>
as messages are sent or acknowledged on a broker.</p><p>The default logging level
used is <strong>INFO</strong>. If you want to increase/reduce the logging you
can use <a shape="rect" href="how-do-i-change-the-logging.html">change it via commons
logging or log4j</a>.</p><p>As of version 5.3 the logging Interceptor is
more configurable. The idea is to log all events but be able to turn off logging for certain
event groups by configuration.</p><p>Currently the following groups are supported:</p><div
class="table-wrap"><table class="confluenceTable">
 <tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p><strong>Attribute</strong></p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p><strong>Description</strong></p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p><strong>Default Value</strong></p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logAll</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Log all Events</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logMessageEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related with producing, consuming
and dispatching messages</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logConnectionEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related to connections and
sessions</p></td><td colspan="1" rowspan="1" clas
 s="confluenceTd"><p>true</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>logTransactionEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related to transaction handling</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logConsumerEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related to consuming messages</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logProducerEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related to producing messages</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logInternalEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events normally not of Interest for
users like failover, querying inte
 rnal objects etc</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logSessionEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related to adding and removing
sessions</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td></tr></tbody></table></div><p>Only
connection events logging is enabled by default.</p><p>You can enable the logging
interceptor using the following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/util/plugin-broker.xml">XML
configuration</a>. This example enables all logging and disables the connection event
logging:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
+<div class="wiki-content maincontent"><h2 id="LoggingInterceptor-LoggingInterceptor">Logging
Interceptor</h2><p>The Logging Interceptor is a pretty trivial <a shape="rect"
href="interceptors.html">Interceptor</a> which just logs to <a shape="rect" class="external-link"
href="http://jakarta.apache.org/commons/logging/">Jakarta Commons Logging</a> or
<a shape="rect" class="external-link" href="http://logging.apache.org/log4j/docs/">log4j</a>
as messages are sent or acknowledged on a broker.</p><p>The default logging level
used is <strong>INFO</strong>. If you want to increase/reduce the logging you
can use <a shape="rect" href="how-do-i-change-the-logging.html">change it via commons
logging or log4j</a>.</p><p>As of version 5.3 the logging Interceptor is
more configurable. The idea is to log all events but be able to turn off logging for certain
event groups by configuration.</p><p>Currently the following groups are supported:</p><div
class="table-wrap"><table class="confluenceTable">
 <tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p><strong>Attribute</strong></p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p><strong>Description</strong></p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p><strong>Default Value</strong></p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logAll</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Log all Events</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logConnectionEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related to connections and
sessions</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logTransactionEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related to transaction handling</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>fals
 e</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>logConsumerEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related to consuming messages</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logProducerEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related to producing messages</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logInternalEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events normally not of Interest for
users like failover, querying internal objects etc</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>false</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logSessionEvents</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Events related to adding and removing
sessions</p
 ></td><td colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td></tr></tbody></table></div><p>Only
connection events logging is enabled by default.</p><p>You can enable the logging
interceptor using the following <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/util/plugin-broker.xml">XML
configuration</a>. This example enables all logging and disables the connection event
logging:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;beans 
   xmlns=&quot;http://www.springframework.org/schema/beans&quot; 



Mime
View raw message