You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/02/27 10:03:44 UTC

[jira] Created: (CAMEL-2504) ErrorHandler - Do not log handled exceptions - Add additional easy to switch options

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.


[jira] Resolved: (CAMEL-2504) ErrorHandler - Do not log handled exceptions - Add additional easy to switch options

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2504.
--------------------------------

    Resolution: Fixed

trunk: 916940.

> 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.