From: <Mik...@su...> - 2003-03-18 18:17:40
|
You can do the same thing by setting the system property "org.apache.commons.logging.simplelog.defaultlog". However, then you might miss warnings you care about. Additionally, JDK 1.4 comes with its own logging package and commons-logging will use it if it detects its presence. The logging package in JDK 1.4 ignores org.apache.commons.logging.simplelog.defaultlog. I assume it will ignore SimpleLog.setLevel() also, but I've never tried that. Mike ---------- I have been looking for a way to get rid of these and the best guess I have currently is here: com.gargoylesoftware.htmlunit.HttpWebConnection, line 228: currently: ((SimpleLog)log).setLevel( SimpleLog.LOG_LEVEL_WARN ); change to: ((SimpleLog)log).setLevel( SimpleLog.LOG_LEVEL_OFF ); // or whatever other level will do it I'll test this as soon as I can get all the dependencies straightened out for the latest code. Brad C |