camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-6871) Log compenent removes line separators from logged message
Date Mon, 21 Oct 2013 13:13:42 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen reassigned CAMEL-6871:
----------------------------------

    Assignee: Claus Ibsen

> Log compenent removes line separators from logged message
> ---------------------------------------------------------
>
>                 Key: CAMEL-6871
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6871
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.6
>            Reporter: Savva Mikhalevski
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.3, 2.12.2, 2.13.0
>
>         Attachments: camel-log-formatter-test.zip
>
>
> *Steps*
> # Send exchange with input body equal to {{"1" + LS + "2" + LS + "3"}}, where {{LS}}
is a system dependent line separator.
> # Log exchange input body with Camel log component:
> {code}<to uri="log:logger_name?level=INFO" />{code}
> *Expected*
> Exchange input body is logged with {{LS}} charcters preserved:
> {code}1
> 2
> 3{code}
> *Observed*
> Exchange is logged without {{LS}} characters:
> {code}123{code}
> *Workaround*
> Use log EIP instead:
> {code}<log loggingLevel="INFO" logName="logger_name" message="${body}" />{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message