From: Mike B. <mb...@Ga...> - 2004-03-23 19:44:29
|
mbr...@vi... wrote: > I would have expected "warn" to not show "info" messages but perhaps > that is a misunderstanding of mine. In any case, I changed the > logging level to "fatal" and I still see messages like the following: > > .Mar 23, 2004 12:22:52 PM org.apache.commons.httpclient.HttpMethodBase > readResponse > INFO: Discarding unexpected response: HTTP/1.1 100 Continue Try adding this line before the tests run: System.getProperties().put( "org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); This will force commons-logging to use SimpleLog. I'm guessing that it's defaulting to a different logger and as a result is ignoring the system property that you set. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |