Hi there,

I'm having difficulty understanding how the tracing facility can be applied
at runtime in production; perhaps it cannot be.

If I declare the following in my Spring context:

<bean id="camelTracer" class="org.apache.camel.processor.interceptor.Tracer"
/>

...and nothing else at all, then tracing is enabled.

So how do I then turn off tracing for production mode without having to
modify my context?

If I declare 'trace="false"' on my context declaration then it does not
appear to be overridden by the -trace option on the command line... Thus I
cannot by default declare tracing as off and then enable it at runtime by
changing my startup.

Thanks for any help.

Kind regards,
Christopher
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Enabling-tracing-in-production-tp3243013p3243013.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to