camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-2199) Introduce a new log component for dynamic logging.
Date Wed, 25 Nov 2009 06:41:53 GMT


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:
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Eric Bouer
>            Priority: Minor
>             Fix For: 2.2.0
>         Attachments:
> 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
> 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.

View raw message