This is part of how Apache OpenJPA has been setup for this example, so if you don't want to see those logs then just tweak the logging configuration a bit:
https://github.com/apache/camel/blob/master/examples/camel-example-etl/src/main/resources/META-INF/persistence.xml#L27 E.g. set all the levels there to "WARN" instead of "INFO" or "TRACE". Also note that Camel tracing is enabled by this example, so you would need to disable tracing as well if you don't want to see the Camel's own trace logs: https://github.com/apache/camel/blob/master/examples/camel-example-etl/src/main/resources/META-INF/spring/camel-context.xml#L23 Now try again and the console will become completely silent after the two database rows of "James" & "Hiram" get successfully consumed. Babak Licia wrote > First of, thank you for your answer. > > But the thing is the probleme is not "really" solved because after i > compiled using your tip, the console is still running on and on again, > but with a different type of message that I understand even less than > before... > > And yes, I have already been on the ETL example tutorial but it didn't > really help... > > > 26626 camel TRACE [Camel (camel) thread #1 - > jpa://org.apache.camel.example.e > tl.CustomerEntity] openjpa.jdbc.SQL - > <t 195557432, conn 1486709135> > [0 ms] spen > t > 29630 camel TRACE [Camel (camel) thread #1 - > jpa://org.apache.camel.example.e > tl.CustomerEntity] openjpa.jdbc.SQL - > <t 195557432, conn 1154071886> > executing p > repstmnt 2005085230 > SELECT t0.id, t0.city, t0.firstName, t0.phone, t0.street, t0.surname, > t0.userName, t0.zip > FROM customer t0 > > 29631 camel TRACE [Camel (camel) thread #1 - > jpa://org.apache.camel.example.e > tl.CustomerEntity] openjpa.jdbc.SQL - > <t 195557432, conn 1154071886> > [1 ms] spen > t > 32637 camel TRACE [Camel (camel) thread #1 - > jpa://org.apache.camel.example.e > tl.CustomerEntity] openjpa.jdbc.SQL - > <t 195557432, conn 1716758312> > executing p > repstmnt 404887544 > SELECT t0.id, t0.city, t0.firstName, t0.phone, t0.street, t0.surname, > t0.userName, t0.zip > FROM customer t0 -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-ETL-example-tp5752256p5752268.html Sent from the Camel - Users mailing list archive at Nabble.com.
