Author: buildbot
Date: Tue Sep 20 19:22:16 2016
New Revision: 997844

Log:
Production update by buildbot for activemq

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

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

Modified: websites/production/activemq/content/mdc-logging.html
==============================================================================
--- websites/production/activemq/content/mdc-logging.html (original)
+++ websites/production/activemq/content/mdc-logging.html Tue Sep 20 19:22:16 
2016
@@ -35,7 +35,7 @@
           <link 
href='http://activemq.apache.org/styles/highlighter/styles/shCore.css' 
rel='stylesheet' type='text/css' /> 
       <link 
href='http://activemq.apache.org/styles/highlighter/styles/shThemeEclipse.css' 
rel='stylesheet' type='text/css' /> 
       <script 
src='http://activemq.apache.org/styles/highlighter/scripts/shCore.js' 
type='text/javascript'></script> 
-              <script 
src='http://activemq.apache.org/styles/highlighter/scripts/shBrushJava.js' 
type='text/javascript'></script> 
+              <script 
src='http://activemq.apache.org/styles/highlighter/scripts/shBrushPlain.js' 
type='text/javascript'></script> 
          
       <script type="text/javascript"> 
         SyntaxHighlighter.defaults['toolbar'] = false; 
@@ -81,26 +81,10 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><p>As of version 5.5.0, ActiveMQ uses <a 
shape="rect" class="external-link" href="http://www.slf4j.org/"; 
rel="nofollow">slf4j</a> as the logging framework. This allows us to support <a 
shape="rect" class="external-link" 
href="http://www.slf4j.org/api/org/slf4j/MDC.html"; rel="nofollow">MDC 
logging</a>.<br clear="none">
-See more details about MDC logging in the <a shape="rect" 
class="external-link" href="http://logback.qos.ch/manual/mdc.html"; 
rel="nofollow">logback manual</a>.</p>
-
-<p>Currently ActiveMQ add three pieces of information to the diagnostic 
context:</p>
-
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p>Key</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p>activemq.broker</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p> Name of the broker logging 
event</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>activemq.connector</p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p> Address of the connector which is serving the 
request</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p>activemq.destination</p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p> Name of the target destination of a 
message</p></td></tr></tbody></table></div>
-
-
-<p>For example if you use log format like</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">log4j.appender.stdout.layout.ConversionPattern=%d 
[%-15.15t] - %-5p %-30.30c{1} - %-10.10X{activemq.broker} 
%-20.20X{activemq.connector} %-20.20X{activemq.destination} - %m%n</pre>
-</div></div>
-
-<p>in an environment where multiple brokers use the same log (like unit 
tests), you can expect the output similar to this one</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default" 
style="font-size:12px;">
-
-2011-03-23 13:51:04,919 [127.0.0.1:58146] - TRACE Queue                        
  - broker-3B  tcp://localhost:6111                      - Message 
ID:dejan-bosanacs-macbook-pro....
+<div class="wiki-content maincontent"><p>ActiveMQ uses <a shape="rect" 
class="external-link" href="http://www.slf4j.org/"; rel="nofollow">slf4j</a> as 
its logging framework. This allows ActiveMQ to support <a shape="rect" 
class="external-link" href="http://www.slf4j.org/api/org/slf4j/MDC.html"; 
rel="nofollow">MDC logging</a>. For more information about about MDC logging 
see the <a shape="rect" class="external-link" 
href="http://logback.qos.ch/manual/mdc.html"; rel="nofollow">logback 
manual</a>.</p><p>Currently ActiveMQ adds three keys to the diagnostic 
context:</p><div class="table-wrap"><table 
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Key</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code>activemq.broker</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Name of the broker logging 
event.</p></td></tr><tr><td colspan="1" rowspan="1
 " class="confluenceTd"><p><code>activemq.connector</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Address of the connector which 
is serving the request.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>activemq.destination</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Name of the target destination 
of a message.</p></td></tr></tbody></table></div><p>For example, if you've 
defined a log appender to use the following 
<strong><code>ConversionPattern</code></strong>:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: text; gutter: false; theme: Default" 
style="font-size:12px;">log4j.appender.stdout.layout.ConversionPattern=%d 
[%-15.15t] - %-5p %-30.30c{1} - %-10.10X{activemq.broker} 
%-20.20X{activemq.connector} %-20.20X{activemq.destination} - %m%n</pre>
+</div></div><p>then in an environment where multiple brokers use the same log 
(like unit tests), the log output will take this general form:</p><div 
class="code panel pdl" style="border-width: 1px;"><div class="codeContent 
panelContent pdl">
+<pre class="brush: text; gutter: false; theme: Default" 
style="font-size:12px;">2011-03-23 13:51:04,919 [127.0.0.1:58146] - TRACE Queue 
                         - broker-3B  tcp://localhost:6111                      
- Message ID:dejan-bosanacs-macbook-pro....
 2011-03-23 13:51:04,935 [oker-3B] Task-1] - DEBUG Queue                        
  - broker-3B  tcp://localhost:6111 PROD.FUSESOURCE.3.B  - PROD.FUSESOURCE.3.B 
toPageIn: 1, Inflight...
 2011-03-23 13:51:04,763 [oker-2A] Task-1] - TRACE AbstractStoreCursor          
  - broker-2A  vm://broker-2A       PROD.FUSESOURCE.3.B  - 
QueueStorePrefetch611939300 - fillBatch
 2011-03-23 13:51:04,759 [127.0.0.1:58118] - TRACE Queue                        
  - broker-3A  tcp://localhost:6110                      - Message 
ID:dejan-bosanacs-macbook-pro.l...


Reply via email to