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 2009/05/01 08:31:38 UTC

[jira] Created: (CAMEL-1579) Exchange toString() - Big messages should be clipped to not exhaust logging

Exchange toString() - Big messages should be clipped to not exhaust logging
---------------------------------------------------------------------------

                 Key: CAMEL-1579
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1579
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.0-M1
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 2.0.0


If you have a payload of 100k or the likes and enable DEBUG logging then Camel will often output the payload. We should clip the text to show the first 200 chars.


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


[jira] Commented: (CAMEL-1579) Exchange toString() - Big messages should be clipped to not exhaust logging

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52144#action_52144 ] 

Claus Ibsen commented on CAMEL-1579:
------------------------------------

And a spring DSL unit test: 782905.

> Exchange toString() - Big messages should be clipped to not exhaust logging
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-1579
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1579
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> If you have a payload of 100k or the likes and enable DEBUG logging then Camel will often output the payload. We should clip the text to show the first 200 chars.

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


[jira] Resolved: (CAMEL-1579) Exchange toString() - Big messages should be clipped to not exhaust logging

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

Claus Ibsen resolved CAMEL-1579.
--------------------------------

    Resolution: Fixed
      Assignee: Claus Ibsen

Added Camel property {{CamelLogDebugBodyMaxChars}} to set a custom max chars.
By default 1000 is used.

Set to 0 or negative to disable it and log the entire body.
This applied to DEBUG logging.

trunk: 782900.

> Exchange toString() - Big messages should be clipped to not exhaust logging
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-1579
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1579
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> If you have a payload of 100k or the likes and enable DEBUG logging then Camel will often output the payload. We should clip the text to show the first 200 chars.

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


[jira] Commented: (CAMEL-1579) Exchange toString() - Big messages should be clipped to not exhaust logging

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52145#action_52145 ] 

Claus Ibsen commented on CAMEL-1579:
------------------------------------

Updated wiki:
http://cwiki.apache.org/confluence/display/CAMEL/How+do+I+set+the+max+chars+when+debug+logging+messages+in+Camel


> Exchange toString() - Big messages should be clipped to not exhaust logging
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-1579
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1579
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> If you have a payload of 100k or the likes and enable DEBUG logging then Camel will often output the payload. We should clip the text to show the first 200 chars.

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