You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Benjamin Graf (Jira)" <ji...@apache.org> on 2020/02/29 15:34:00 UTC
[jira] [Commented] (CAMEL-14632) Optimization of
DefaultExchangeFormatter leeds to crapy log output
[ https://issues.apache.org/jira/browse/CAMEL-14632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17048332#comment-17048332 ]
Benjamin Graf commented on CAMEL-14632:
---------------------------------------
Hi [~davsclaus],
issue created with test case as requested. ;)
Regards,
Benjamin
> Optimization of DefaultExchangeFormatter leeds to crapy log output
> -------------------------------------------------------------------
>
> Key: CAMEL-14632
> URL: https://issues.apache.org/jira/browse/CAMEL-14632
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 3.1.0
> Reporter: Benjamin Graf
> Priority: Minor
> Attachments: Camel14632Test.java
>
>
> The changes to DefaultExchangeFormatter from issue CAMEL-14354 have an "ugly" side effect. If using multiline logging and StringBuffer is less than 10000 chars you'll get a String logged with lots of ###REPLACE_ME###.
> Reproduce with test case [^Camel14632Test.java] and see log output
> e.g.:
> {noformat}
> 2020-02-29T16:25:58,966 INFO [main ] test - Exchange[###REPLACE_ME### Id: ID-PC47376-1582989958950-0-1###REPLACE_ME### ExchangePattern: InOnly###REPLACE_ME### Properties: {CamelToEndpoint=log://test?multiline=true&showAll=true}###REPLACE_ME### Headers: {}###REPLACE_ME### BodyType: String###REPLACE_ME### Body: test]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)