You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org> on 2011/11/22 10:48:39 UTC

[jira] [Commented] (CAMEL-4607) Have camel:log support using SLF4J Markers

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

Claus Ibsen commented on CAMEL-4607:
------------------------------------

Taariq thanks for the patch.

Do you mind looking into adding support for marker on the log component as well?
http://camel.apache.org/log

eg as an option just like the level option we have on this component.
                
> Have camel:log support using SLF4J Markers
> ------------------------------------------
>
>                 Key: CAMEL-4607
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4607
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Michael Kolakowski
>            Assignee: Taariq Levack
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4607_Have_camel_log_support_using_SLF4J_Markers.patch
>
>
> This issue is in regards to the following post:  
> http://camel.465427.n5.nabble.com/Can-camel-use-a-Marker-as-used-in-logback-td4955683.html
> In short, we would like to be able to make use of Markers, which are part of the SLF4J api.  Markers allow you to add an "ID" to a log statement.  They can then be used as filtering outside of log levels.  
> The end result will be to be able to write something like the following:
> <camel:log message="log message" logName="org.apache.camel" marker="myMarker" level="DEBUG" />

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira