ErrorHandler - Do not log handled exceptions - Add additional easy to switch 
options
------------------------------------------------------------------------------------

                 Key: CAMEL-2504
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2504
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.2.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.3.0


If you handle exceptions using
{code}
onException(Exception.class).handled(true) ...
{code}

Then by default the exception should *not* be logged.

Also add additional switches to easy customize behavior without having to 
change logging levels
{code}
    protected boolean logHandled;
    protected boolean logExhausted = true;
    protected boolean logRetryAttempted = true;
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to