camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gilday" <>
Subject RE: loggingErrorHandler defaults to INFO
Date Tue, 07 Oct 2008 12:29:14 GMT
Please see the comment about the changes to the builder methods on
LoggingErrorHandlerBuilder for level and log.  I feel it mjust have been
a mistake to have the current methods returning void as it breaks the
chain when writing Camel routes.

----- Original message -----
From: "Claus Ibsen" <>
Date: Tue, 7 Oct 2008 14:12:56 +0200
Subject: RE: loggingErrorHandler defaults to INFO


Med venlig hilsen
Claus Ibsen
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576

-----Original Message-----
From: Martin Gilday [] 
Sent: 7. oktober 2008 13:41
Subject: loggingErrorHandler defaults to INFO

Was it a conscious decision to make
errorHandler(loggingErrorHandler("")); to configure a
logger which has its level set to INFO?  From the name I would really
think it should default to ERROR, seeing as it logs whenever an
exception is caught i.e an error.  On our live servers we get emailed on
ERROR and I onlu noticed the queue had been failing when I looked at the
JMX console.  I know that I can change this by calling .setLevel but I
think ERROR would be a much more sensible default.  If anyone else
agrees then I can create a JIRA and attach a patch (it should only be a
one line change in LoggingErrorHandlerBuilder).


View raw message