From: Mike B. <mb...@Ga...> - 2004-09-29 21:58:03
|
Brad Clarke wrote: > I'm really more interested in what changed to make this warning start poping up now. > I'm not really doing anything different that before... As Chris said, this is default behaviour for commons-logging. You can explicitly set the logger back to SimpleLog (likely what you were using before you put log4j in the classpath) by setting a system property. The HtmlUnit tests themselves do this so that we can explicitly turn off some of the commons-httpclient log messages. The relevant line is System.getProperties().put( "org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); The HtmlUnit code that does this is in MainTestSuite btw. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |