camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garrydias <>
Subject Apparent Duplicated Log (Log4J)
Date Tue, 10 Apr 2012 14:08:23 GMT

#1) In a JEE enviroment, why my logging lines are printing like this:
/10:36:02,584 INFO  [STDOUT] 10:36:02,583 INFO  [MyClass] Whatever logging!/

#2) When it should been like this:
/10:36:02,583 INFO  [MyClass] Whatever logging!/

My application is deployed in JBossAS 5.1 using Apache Log4j as logging
service. All server startup logging lines are normal (like #2) but when my
deployed application starts to log its lines are printed with a duplicated
time, duplicated priority and STDOUT logger (like 1#). The classes in my
application are beans defined in xml spring file or bean endpoints in

Is Camel appending /10:36:02,584 INFO  [STDOUT]/ when a log4j operations are
invoked by my bean endpoints?

This appending is also crashing my NDC stack, printing only /Whatever
Logging/ instead /StackValue1 StackValue2 StackValueN Whatever Logging!/

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message