From: Mike B. <mb...@Ga...> - 2003-08-12 17:12:58
|
James Asher wrote: > Indeed, it was an older version of xerces. I thought > it was the current version, but I guess not - all I > did was replace it with your distributed version. > > I can now see in the output that it is returning > values now where before there were none. However, now > I get many lines of DEBUG information in the > System.out, is that a setting that I've turned on > unknowningly? A default? Can I turn it off? By default, you should only be seeing INFO, ERROR and FATAL messages. DEBUG and TRACE messages should only display if you have explicitly turned them on. Having said that, it's always possible that I've got the setting wrong for the default case. HtmlUnit is using commons-logging which in turn will delegate to another logging framework. If you are using java 1.4 then it will use the java built in logging support. If you are not using 1.4 but have log4j in your classpath then it will use that. Otherwise it will use SimpleLog. How you change the logging settings varies according to the logging implementation you are using. Docs for SimpleLog can be found at http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/impl/SimpleLog.html Hope this helps. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |