I'm writing unit tests for a library which uses commons-logging-api for its logging. I've noticed that, even if I don't include log4j.properties or the log4j jar on the classpath, logging is accomplished at the INFO level (and higher) to the console.

That's almost what I want. I'd like to be able to set the logging to a different level (say, while debugging a failing unit test). Furthermore, I'd really like the logging done during the execution of each unit test to go into surefire-report for that TestCase.

(Also, if there's a way to make it all run with log4j and log output to the appropriate surefire-report, that'd be great, too. It's nice to setup your appender pattern conversion like you want, too.)

Any ideas?

Thanks, all!
--Eric





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to