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-2229) switch to slf4j / logback by default as we'll get accurate version information in stack traces, plus MDC support (and neater ways to avoid the "if (LOG.isDebugEnabled())" stuff
Date Fri, 18 Dec 2009 06:21:52 GMT

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

Claus Ibsen commented on CAMEL-2229:
------------------------------------

I think this requires a fair amount of work to do for all camel components etc. Lets do this
when we better time.
And since logging is a delicate matter we should probably start a thread about it and write
in the release notes we consider this change in the future.

> switch to slf4j / logback by default as we'll get accurate version information in stack
traces, plus MDC support (and neater ways to avoid the "if (LOG.isDebugEnabled())" stuff
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2229
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2229
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: James Strachan
>             Fix For: Future
>
>
> slf4j has an MDC API which would be very handy for selectively turning on tracing of
certain kinds of routes
> in addition logback has support for the full jar version info in stack traces (which
will help us support camel) so we should probably switch.
> its easy to mix and match slf4j with logback (there's a commons-logging API impl) - plus
its easy to bridge both clogging & slf4j to logback (kinda like log4j), so we should probably
just switch to slf4j.
> BTW there's a tool that auto-converts source code we should just use...
> http://slf4j.org/migrator.html

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