camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Camel-freemarker
Date Sat, 13 Aug 2011 06:14:35 GMT
On Sat, Aug 13, 2011 at 12:18 AM, Christian Müller
<> wrote:
> Hello Babak!
> I think you are right. If we define the test dependency "slf4j-log4j12", we
> do not have to declare the dependency to "log4j" (because it's a transitive
> dependency from "slf4j-log4j12"). Could you please open a JIRA for it? Do
> you consider to provide a patch for it?

Well frankly it is the other way around. End users should be able to
specify exactly which log4j version they want to use.
As well as they may run in a server which comes pre installed with
log4j in the boot classpath.

slf4j should *not* dictate which log4j version you should use.

However as we just use it for testing, then we can take a short cut
and possible remove the log4j in the pom.xml file. But for the
examples we should not, as it can help show best practice to end
users, that they can setup log4j dependency and control which version
they want to use.

> For camel-freemarker, do you know whether Freemarker use log4j as default
> logging engine so that we have to set this dependency explicitly? If not, I
> think we should change this as well.
> Best,
> Christian

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message