camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Catching HttpHostConnectException from Camel Restlet component
Date Sat, 04 Oct 2014 07:29:21 GMT

I suspect that WARN is from restlet / http client itself. We do not
log a message with that text from Apache Camel.

git grep "An error occurred during the communication with the remote HTTP"

So you cannot do that, unless you configure your logging to use ERROR
or turn off logging with the logger name that logs the WARN.

On Fri, Oct 3, 2014 at 8:50 AM, junaid <> wrote:
> Thanks. Yes I am now able to catch the Exception using the getException(),
> but the stacktrace log is printed. Is there anyway to disable this
> particular log?
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message