On Sun, Aug 14, 2011 at 9:54 PM, bvahdat <babak.vah...@swissonline.ch> wrote: >> There is no where on the slf4j website that states you must use log4j > 1.1.x. > > I did not claim that to be the case, but my poor English seems to cause the > people to misunderstand me. So to make it clear what I exactly mean, I > extended my sample foo project which I posted before in this discussion with > some code, see http://camel.465427.n5.nabble.com/file/n4698903/foo.zip > foo.zip . So simply do the following: > > - unzip it. > - first read my comments in pom.xml > - then do a 'mvn test -Dtest=DeveloperOwnClassTest' and see the following > log4j's log statement on the console: I'm the developer of the foo project > and am love with the log4j version '1.1.3' > - now do a 'mvn test -Dtest=FooRouteBuilderTest', and see how testing of the > FooRouteBuilder route crashes... > > Do you see now what I mean? >
For slf4j-log4j12 you need to use log4j 1.2.x version. So stop using the old and outdated log4j 1.1.x version. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-freemarker-tp4693216p4698903.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/