Author: buildbot Date: Tue Apr 24 13:20:56 2012 New Revision: 814233 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/book-component-appendix.html websites/production/camel/content/book-in-one-page.html websites/production/camel/content/cache/main.pageCache websites/production/camel/content/log.html Modified: websites/production/camel/content/book-component-appendix.html ============================================================================== --- websites/production/camel/content/book-component-appendix.html (original) +++ websites/production/camel/content/book-component-appendix.html Tue Apr 24 13:20:56 2012 @@ -10086,7 +10086,7 @@ log:org.apache.camel.example?level=DEBUG <h3><a shape="rect" name="BookComponentAppendix-Options"></a>Options</h3> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>level</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>INFO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Logging level to use. Possible values: <tt>FATAL</tt>, <tt>ERROR</tt>, <tt>WARN</tt>, <tt>INFO</tt>, <tt>DEBUG</tt>, <tt>TRACE</tt>, <tt>OFF</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Throughput logging options. By defau lt regular logging is used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>marker</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> An optional <a shape="rect" class="external-link" href="http://www.slf4j.org/api/org/slf4j/Marker.html" rel="nofollow">Marker</a> name to use. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> An integer that specifies a group size for throughput logging.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupInterval</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan ="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If specified will group message stats by this time interval (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: Set the initial delay for stats (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupActiveOnly</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If true, will hide stats when no new messages have been received for a time interval, if false, show stats regardless of message traffic </td></tr></tbody></t able> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>level</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>INFO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Logging level to use. Possible values: <tt>FATAL</tt>, <tt>ERROR</tt>, <tt>WARN</tt>, <tt>INFO</tt>, <tt>DEBUG</tt>, <tt>TRACE</tt>, <tt>OFF</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>marker</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Ca mel 2.9:</b> An optional <a shape="rect" class="external-link" href="http://www.slf4j.org/api/org/slf4j/Marker.html" rel="nofollow">Marker</a> name to use. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> An integer that specifies a group size for throughput logging.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupInterval</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If specified will group message stats by this time interval (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupDelay</tt> </td><td colspan="1" rowspan="1" cl ass="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: Set the initial delay for stats (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupActiveOnly</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If true, will hide stats when no new messages have been received for a time interval, if false, show stats regardless of message traffic </td></tr></tbody></table> </div> </div> <p><b>note</b>: groupDelay and groupActiveOnly are only applicable when using groupInterval</p> @@ -10097,11 +10097,11 @@ log:org.apache.camel.example?level=DEBUG <p>The log formats the execution of exchanges to log lines. <br clear="none"> By default, the log uses <tt>LogFormatter</tt> to format the log output, where <tt>LogFormatter</tt> has the following options:</p> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showAll</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Quick option for turning all options on. (multiline, maxChars has to be manually set if to be used) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangeId</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the unique exchange ID. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangePattern</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluence Td"> <b>Camel 2.3:</b> Shows the Message Exchange Pattern (or MEP for short). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showProperties</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the exchange properties. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showHeaders</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In message headers. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBodyType</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In body Java type. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBody</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class=" confluenceTd"> Show the In body. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showOut</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If the exchange has an Out message, show the Out message. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has an exception, show the exception message (no stack trace). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showCaughtException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has a caught exception, show the exception message (no stack trace). A caught exception is stored as a property on the exchange (us ing the key <tt>Exchange.EXCEPTION_CAUGHT</tt>) and for instance a <tt>doCatch</tt> can catch exceptions. See <a shape="rect" href="try-catch-finally.html" title="Try Catch Finally">Try Catch Finally</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStackTrace</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Show the stack trace, if an exchange has an exception. Only effective if one of <tt>showAll</tt>, <tt>showException</tt> or <tt>showCaughtException</tt> are enabled. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFiles</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> Whether Camel should show file bodies or not (eg such as java.io.File). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFuture</tt> </td> <td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> Whether Camel should show <tt>java.util.concurrent.Future</tt> bodies or not. If enabled Camel could potentially wait until the <tt>Future</tt> task is done. Will by default not wait. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStreams</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b> Whether Camel should show stream bodies or not (eg such as java.io.InputStream). Beware if you enable this option then you may not be able later to access the message body as the stream have already been read by this logger. To remedy this you have to use <a shape="rect" href="stream-caching.html" title="Stream caching">Stream caching</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>multiline</tt> </td><td colsp an="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If <tt>true</tt>, each piece of information is logged on a new line. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxChars</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Limits the number of characters logged per line. The default value is <tt>10000</tt> from <b>Camel 2.9</b> onwards. </td></tr></tbody></table> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showAll</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Quick option for turning all options on. (multiline, maxChars has to be manually set if to be used) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangeId</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the unique exchange ID. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangePattern</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluence Td"> <b>Camel 2.3:</b> Shows the Message Exchange Pattern (or MEP for short). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showProperties</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the exchange properties. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showHeaders</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In message headers. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBodyType</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In body Java type. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBody</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class=" confluenceTd"> Show the In body. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showOut</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If the exchange has an Out message, show the Out message. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has an exception, show the exception message (no stack trace). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showCaughtException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has a caught exception, show the exception message (no stack trace). A caught exception is stored as a property on the exchange (us ing the key <tt>Exchange.EXCEPTION_CAUGHT</tt>) and for instance a <tt>doCatch</tt> can catch exceptions. See <a shape="rect" href="try-catch-finally.html" title="Try Catch Finally">Try Catch Finally</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStackTrace</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Show the stack trace, if an exchange has an exception. Only effective if one of <tt>showAll</tt>, <tt>showException</tt> or <tt>showCaughtException</tt> are enabled. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFiles</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> Whether Camel should show file bodies or not (eg such as java.io.File). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFuture</tt> </td> <td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> Whether Camel should show <tt>java.util.concurrent.Future</tt> bodies or not. If enabled Camel could potentially wait until the <tt>Future</tt> task is done. Will by default not wait. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStreams</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b> Whether Camel should show stream bodies or not (eg such as java.io.InputStream). Beware if you enable this option then you may not be able later to access the message body as the stream have already been read by this logger. To remedy this you will have to use <a shape="rect" href="stream-caching.html" title="Stream caching">Stream caching</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>multiline</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If <tt>true</tt>, each piece of information is logged on a new line. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxChars</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Limits the number of characters logged per line. The default value is <tt>10000</tt> from <b>Camel 2.9</b> onwards. </td></tr></tbody></table> </div> </div> -<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Logging stream bodies</b><br clear="none">Camel will by default <b>not</b> log stream or files bodies. You can force Camel to log those by setting the property on the <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a> properties +<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Logging stream bodies</b><br clear="none">For older versions of Camel that do not support the showFiles or showStreams properties above, you can set the following property instead on the <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a> to log both stream and file bodies: <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> camelContext.getProperties().put(Exchange.LOG_DEBUG_BODY_STREAMS, <span class="code-keyword">true</span>); Modified: websites/production/camel/content/book-in-one-page.html ============================================================================== --- websites/production/camel/content/book-in-one-page.html (original) +++ websites/production/camel/content/book-in-one-page.html Tue Apr 24 13:20:56 2012 @@ -30296,7 +30296,7 @@ log:org.apache.camel.example?level=DEBUG <h3><a shape="rect" name="BookInOnePage-Options"></a>Options</h3> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>level</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>INFO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Logging level to use. Possible values: <tt>FATAL</tt>, <tt>ERROR</tt>, <tt>WARN</tt>, <tt>INFO</tt>, <tt>DEBUG</tt>, <tt>TRACE</tt>, <tt>OFF</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Throughput logging options. By defau lt regular logging is used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>marker</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> An optional <a shape="rect" class="external-link" href="http://www.slf4j.org/api/org/slf4j/Marker.html" rel="nofollow">Marker</a> name to use. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> An integer that specifies a group size for throughput logging.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupInterval</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan ="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If specified will group message stats by this time interval (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: Set the initial delay for stats (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupActiveOnly</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If true, will hide stats when no new messages have been received for a time interval, if false, show stats regardless of message traffic </td></tr></tbody></t able> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>level</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>INFO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Logging level to use. Possible values: <tt>FATAL</tt>, <tt>ERROR</tt>, <tt>WARN</tt>, <tt>INFO</tt>, <tt>DEBUG</tt>, <tt>TRACE</tt>, <tt>OFF</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>marker</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Ca mel 2.9:</b> An optional <a shape="rect" class="external-link" href="http://www.slf4j.org/api/org/slf4j/Marker.html" rel="nofollow">Marker</a> name to use. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> An integer that specifies a group size for throughput logging.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupInterval</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If specified will group message stats by this time interval (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupDelay</tt> </td><td colspan="1" rowspan="1" cl ass="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: Set the initial delay for stats (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupActiveOnly</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If true, will hide stats when no new messages have been received for a time interval, if false, show stats regardless of message traffic </td></tr></tbody></table> </div> </div> <p><b>note</b>: groupDelay and groupActiveOnly are only applicable when using groupInterval</p> @@ -30307,11 +30307,11 @@ log:org.apache.camel.example?level=DEBUG <p>The log formats the execution of exchanges to log lines. <br clear="none"> By default, the log uses <tt>LogFormatter</tt> to format the log output, where <tt>LogFormatter</tt> has the following options:</p> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showAll</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Quick option for turning all options on. (multiline, maxChars has to be manually set if to be used) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangeId</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the unique exchange ID. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangePattern</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluence Td"> <b>Camel 2.3:</b> Shows the Message Exchange Pattern (or MEP for short). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showProperties</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the exchange properties. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showHeaders</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In message headers. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBodyType</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In body Java type. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBody</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class=" confluenceTd"> Show the In body. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showOut</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If the exchange has an Out message, show the Out message. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has an exception, show the exception message (no stack trace). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showCaughtException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has a caught exception, show the exception message (no stack trace). A caught exception is stored as a property on the exchange (us ing the key <tt>Exchange.EXCEPTION_CAUGHT</tt>) and for instance a <tt>doCatch</tt> can catch exceptions. See <a shape="rect" href="try-catch-finally.html" title="Try Catch Finally">Try Catch Finally</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStackTrace</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Show the stack trace, if an exchange has an exception. Only effective if one of <tt>showAll</tt>, <tt>showException</tt> or <tt>showCaughtException</tt> are enabled. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFiles</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> Whether Camel should show file bodies or not (eg such as java.io.File). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFuture</tt> </td> <td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> Whether Camel should show <tt>java.util.concurrent.Future</tt> bodies or not. If enabled Camel could potentially wait until the <tt>Future</tt> task is done. Will by default not wait. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStreams</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b> Whether Camel should show stream bodies or not (eg such as java.io.InputStream). Beware if you enable this option then you may not be able later to access the message body as the stream have already been read by this logger. To remedy this you have to use <a shape="rect" href="stream-caching.html" title="Stream caching">Stream caching</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>multiline</tt> </td><td colsp an="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If <tt>true</tt>, each piece of information is logged on a new line. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxChars</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Limits the number of characters logged per line. The default value is <tt>10000</tt> from <b>Camel 2.9</b> onwards. </td></tr></tbody></table> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showAll</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Quick option for turning all options on. (multiline, maxChars has to be manually set if to be used) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangeId</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the unique exchange ID. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangePattern</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluence Td"> <b>Camel 2.3:</b> Shows the Message Exchange Pattern (or MEP for short). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showProperties</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the exchange properties. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showHeaders</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In message headers. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBodyType</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In body Java type. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBody</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class=" confluenceTd"> Show the In body. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showOut</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If the exchange has an Out message, show the Out message. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has an exception, show the exception message (no stack trace). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showCaughtException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has a caught exception, show the exception message (no stack trace). A caught exception is stored as a property on the exchange (us ing the key <tt>Exchange.EXCEPTION_CAUGHT</tt>) and for instance a <tt>doCatch</tt> can catch exceptions. See <a shape="rect" href="try-catch-finally.html" title="Try Catch Finally">Try Catch Finally</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStackTrace</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Show the stack trace, if an exchange has an exception. Only effective if one of <tt>showAll</tt>, <tt>showException</tt> or <tt>showCaughtException</tt> are enabled. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFiles</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> Whether Camel should show file bodies or not (eg such as java.io.File). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFuture</tt> </td> <td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> Whether Camel should show <tt>java.util.concurrent.Future</tt> bodies or not. If enabled Camel could potentially wait until the <tt>Future</tt> task is done. Will by default not wait. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStreams</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b> Whether Camel should show stream bodies or not (eg such as java.io.InputStream). Beware if you enable this option then you may not be able later to access the message body as the stream have already been read by this logger. To remedy this you will have to use <a shape="rect" href="stream-caching.html" title="Stream caching">Stream caching</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>multiline</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If <tt>true</tt>, each piece of information is logged on a new line. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxChars</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Limits the number of characters logged per line. The default value is <tt>10000</tt> from <b>Camel 2.9</b> onwards. </td></tr></tbody></table> </div> </div> -<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Logging stream bodies</b><br clear="none">Camel will by default <b>not</b> log stream or files bodies. You can force Camel to log those by setting the property on the <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a> properties +<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Logging stream bodies</b><br clear="none">For older versions of Camel that do not support the showFiles or showStreams properties above, you can set the following property instead on the <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a> to log both stream and file bodies: <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> camelContext.getProperties().put(Exchange.LOG_DEBUG_BODY_STREAMS, <span class="code-keyword">true</span>); Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/log.html ============================================================================== --- websites/production/camel/content/log.html (original) +++ websites/production/camel/content/log.html Tue Apr 24 13:20:56 2012 @@ -114,7 +114,7 @@ log:org.apache.camel.example?level=DEBUG <h3><a shape="rect" name="Log-Options"></a>Options</h3> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>level</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>INFO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Logging level to use. Possible values: <tt>FATAL</tt>, <tt>ERROR</tt>, <tt>WARN</tt>, <tt>INFO</tt>, <tt>DEBUG</tt>, <tt>TRACE</tt>, <tt>OFF</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> Throughput logging options. By defau lt regular logging is used. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>marker</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> An optional <a shape="rect" class="external-link" href="http://www.slf4j.org/api/org/slf4j/Marker.html" rel="nofollow">Marker</a> name to use. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> An integer that specifies a group size for throughput logging.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupInterval</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan ="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If specified will group message stats by this time interval (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupDelay</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: Set the initial delay for stats (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupActiveOnly</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If true, will hide stats when no new messages have been received for a time interval, if false, show stats regardless of message traffic </td></tr></tbody></t able> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>level</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>INFO</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Logging level to use. Possible values: <tt>FATAL</tt>, <tt>ERROR</tt>, <tt>WARN</tt>, <tt>INFO</tt>, <tt>DEBUG</tt>, <tt>TRACE</tt>, <tt>OFF</tt> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>marker</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Ca mel 2.9:</b> An optional <a shape="rect" class="external-link" href="http://www.slf4j.org/api/org/slf4j/Marker.html" rel="nofollow">Marker</a> name to use. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupSize</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> An integer that specifies a group size for throughput logging.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupInterval</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>null</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If specified will group message stats by this time interval (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupDelay</tt> </td><td colspan="1" rowspan="1" cl ass="confluenceTd"> <tt>0</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>Integer</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: Set the initial delay for stats (in millis) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>groupActiveOnly</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>boolean</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.6</b>: If true, will hide stats when no new messages have been received for a time interval, if false, show stats regardless of message traffic </td></tr></tbody></table> </div> </div> <p><b>note</b>: groupDelay and groupActiveOnly are only applicable when using groupInterval</p> @@ -125,11 +125,11 @@ log:org.apache.camel.example?level=DEBUG <p>The log formats the execution of exchanges to log lines. <br clear="none"> By default, the log uses <tt>LogFormatter</tt> to format the log output, where <tt>LogFormatter</tt> has the following options:</p> <div class="confluenceTableSmall"><div class="table-wrap"> -<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showAll</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Quick option for turning all options on. (multiline, maxChars has to be manually set if to be used) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangeId</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the unique exchange ID. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangePattern</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluence Td"> <b>Camel 2.3:</b> Shows the Message Exchange Pattern (or MEP for short). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showProperties</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the exchange properties. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showHeaders</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In message headers. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBodyType</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In body Java type. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBody</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class=" confluenceTd"> Show the In body. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showOut</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If the exchange has an Out message, show the Out message. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has an exception, show the exception message (no stack trace). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showCaughtException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has a caught exception, show the exception message (no stack trace). A caught exception is stored as a property on the exchange (us ing the key <tt>Exchange.EXCEPTION_CAUGHT</tt>) and for instance a <tt>doCatch</tt> can catch exceptions. See <a shape="rect" href="try-catch-finally.html" title="Try Catch Finally">Try Catch Finally</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStackTrace</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Show the stack trace, if an exchange has an exception. Only effective if one of <tt>showAll</tt>, <tt>showException</tt> or <tt>showCaughtException</tt> are enabled. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFiles</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> Whether Camel should show file bodies or not (eg such as java.io.File). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFuture</tt> </td> <td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> Whether Camel should show <tt>java.util.concurrent.Future</tt> bodies or not. If enabled Camel could potentially wait until the <tt>Future</tt> task is done. Will by default not wait. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStreams</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b> Whether Camel should show stream bodies or not (eg such as java.io.InputStream). Beware if you enable this option then you may not be able later to access the message body as the stream have already been read by this logger. To remedy this you have to use <a shape="rect" href="stream-caching.html" title="Stream caching">Stream caching</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>multiline</tt> </td><td colsp an="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If <tt>true</tt>, each piece of information is logged on a new line. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxChars</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Limits the number of characters logged per line. The default value is <tt>10000</tt> from <b>Camel 2.9</b> onwards. </td></tr></tbody></table> +<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"> Option </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showAll</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Quick option for turning all options on. (multiline, maxChars has to be manually set if to be used) </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangeId</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the unique exchange ID. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showExchangePattern</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluence Td"> <b>Camel 2.3:</b> Shows the Message Exchange Pattern (or MEP for short). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showProperties</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the exchange properties. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showHeaders</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In message headers. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBodyType</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Show the In body Java type. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showBody</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>true</tt> </td><td colspan="1" rowspan="1" class=" confluenceTd"> Show the In body. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showOut</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If the exchange has an Out message, show the Out message. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has an exception, show the exception message (no stack trace). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showCaughtException</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> If the exchange has a caught exception, show the exception message (no stack trace). A caught exception is stored as a property on the exchange (us ing the key <tt>Exchange.EXCEPTION_CAUGHT</tt>) and for instance a <tt>doCatch</tt> can catch exceptions. See <a shape="rect" href="try-catch-finally.html" title="Try Catch Finally">Try Catch Finally</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStackTrace</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Show the stack trace, if an exchange has an exception. Only effective if one of <tt>showAll</tt>, <tt>showException</tt> or <tt>showCaughtException</tt> are enabled. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFiles</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.9:</b> Whether Camel should show file bodies or not (eg such as java.io.File). </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showFuture</tt> </td> <td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.1:</b> Whether Camel should show <tt>java.util.concurrent.Future</tt> bodies or not. If enabled Camel could potentially wait until the <tt>Future</tt> task is done. Will by default not wait. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>showStreams</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.8:</b> Whether Camel should show stream bodies or not (eg such as java.io.InputStream). Beware if you enable this option then you may not be able later to access the message body as the stream have already been read by this logger. To remedy this you will have to use <a shape="rect" href="stream-caching.html" title="Stream caching">Stream caching</a>. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>multiline</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> <tt>false</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> If <tt>true</tt>, each piece of information is logged on a new line. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <tt>maxChars</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Camel 2.0:</b> Limits the number of characters logged per line. The default value is <tt>10000</tt> from <b>Camel 2.9</b> onwards. </td></tr></tbody></table> </div> </div> -<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Logging stream bodies</b><br clear="none">Camel will by default <b>not</b> log stream or files bodies. You can force Camel to log those by setting the property on the <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a> properties +<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Logging stream bodies</b><br clear="none">For older versions of Camel that do not support the showFiles or showStreams properties above, you can set the following property instead on the <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a> to log both stream and file bodies: <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> camelContext.getProperties().put(Exchange.LOG_DEBUG_BODY_STREAMS, <span class="code-keyword">true</span>);