camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alapaka <alap...@rocketmail.com>
Subject suppressing log output during testing
Date Thu, 18 Jun 2015 23:30:55 GMT
This is not a camel issue, thought I might try anyway...

I'm using eclipse Luna and Camel 2.13.2

while running unit tests on my routes, the console log is inundated with
debug info (not interesting unless debugging the tests themselves) which I
would like to suppress such that all I get is logging from the test classes
and the tested routes. 

For example, running one simple test with one assertion results in 2500 log
lines in the console...
almost all lines are like the following:
org.ops4j.pax.logging.pax-logging-api[org.apache.aries.blueprint.container.ReferenceRecipe]
: bla bla bla

problem is that the lines I am interested in are also wrapped by pax:
org.ops4j.pax.logging.pax-logging-api[MY-ROUTE-ID] : MF error code: 123

any help greatly appreciated!



--
View this message in context: http://camel.465427.n5.nabble.com/suppressing-log-output-during-testing-tp5768378.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message