[ 
https://issues.apache.org/activemq/browse/CAMEL-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56080#action_56080
 ] 

Claus Ibsen commented on CAMEL-2199:
------------------------------------

Thanks Eric

Lets get it into Camel 2.2.

I wonder if we should introduce a DSL for it?   eventLog

Which also allows you to use any Expression so you can use JUEL, OGNL, Groovy 
etc. to compute the log message.

> Introduce a new log component for dynamic logging.
> --------------------------------------------------
>
>                 Key: CAMEL-2199
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2199
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Eric Bouer
>            Priority: Minor
>             Fix For: 2.2.0
>
>         Attachments: CAMEL-2199.zip
>
>
> It's a common task to preform logging of human message with  dynamic content 
> like headers/properties or anything else that can be produced with one of the 
> dynamic languages.
> Right now the way to do it is .wireTap("log:mylog", new 
> SimpleExpression("Processing ${header.ID}")
> It would be nice to have something more simple like :
> from("somewhere").to("humanlog:Processing ${header.ID}")
> or even:
> from("somewhere").hlog("Processing ${header.ID}") that allows the same 
> functionality.

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