camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <gma...@talend.com>
Subject Need clarification on Logging Component
Date Tue, 24 Apr 2012 12:04:12 GMT
Hi, the Confluence on on the logging component 
(http://camel.apache.org/log.html#Log-Formatting) gives
two relatively new options:  showStreams (since Camel 2.8) and showFiles 
(Camel 2.9) that can be set to true or false.

Just below the table, it says however:

"Camel will by default not log stream or files bodies. You can force 
Camel to log those by setting
the property on the CamelContext properties:  
camelContext.getProperties().put(Exchange.LOG_DEBUG_BODY_STREAMS, true);"

Question: Does a user need to do *both* the setting of 
showStreams/showFiles *and* Exchange.LOG_DEBUG_BODY_STREAMS
to activate logging of streams/files, or is the instruction below the 
table just for those versions of Camel before
showStreams and showFiles were available?  I'll update the wiki once 
informed.

Thanks,
Glen

-- 
Glen Mazza
Talend Community Coders
coders.talend.com
blog: www.jroller.com/gmazza


Mime
View raw message