A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
turn logging off for junit during build
Joined: Dec 19, 2003
Jun 15, 2004 07:07:00
tests for some classes that run during our build. these classes under
use log4j (through commons-logging actually). i'd like to turn logging off only for running the junit testing. does anyone have idea/example how to do this?
Joined: Apr 14, 2004
Jun 15, 2004 07:22:00
Set the logging threshold for those classes in log4j.properties.
I agree. Here's the link:
subject: turn logging off for junit during build
how to disable runtime warning??
How to suppress comiler warnings?
NX: Logging and Alain Trottier book
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015