camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-908) log component - option for human readble text
Date Mon, 23 Feb 2009 15:12:59 GMT

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

Claus Ibsen commented on CAMEL-908:
-----------------------------------

And issue with the log and having a constant as 2nd argument does not work in Spring DSL.

So it should be:
{code}
to("log:foo?level=INFO&msg=Validation before scheme")
{code}

{code}
to("log:foo?level=INFO&msg=Processing after validating scheme")
{code}


And the one above will create a new endpoint for each different msg as they are not the same,
and you end up with 2 endpoints. And that is actually needed so it can remember that msg.

> log component - option for human readble text
> ---------------------------------------------
>
>                 Key: CAMEL-908
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-908
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> The log component should have a new URI option for end users a custom log message to
be avail for logging. 
> This is usable for end users that want to log certain steps in the LOG such as "Validating
against XMLSchema", "Validation OK" etc.

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


Mime
View raw message