Hi all,
 
I am using htmlunit as part of my project and I want to disable the log messages it prints to my command line whenever I load a web page (usually ones with Javascript are the most verbose).
 
The example:
 
from com.gargoylesoftware.htmlunit import *
w = WebClient(BrowserVersion.FIREFOX_2)
w.getPage('http://maps.google.com')
 
Generates the output:
07-Jul-2008 14:18:44 com.gargoylesoftware.htmlunit.javascript.host.Document jsxSet_cookie
INFO: Added cookie: testcookie=1
07-Jul-2008 14:18:44 com.gargoylesoftware.htmlunit.javascript.host.Document jsxSet_cookie
INFO: Added cookie: testcookie=
07-Jul-2008 14:18:44 com.gargoylesoftware.htmlunit.javascript.host.Document jsxSet_cookie
INFO: Added cookie: khcookie=fzwq2gh2pz1eDnO5bRamCTbugf_q4fmi-ww4Hg
Exception in declaration()
HtmlPage(http://maps.google.com)@5602395
 
The project uses the commons logging package, and I haven't a clue how to disable the output. Can anybody help?

http://htmlunit.sourceforge.net/
 
Regards,
 
Gareth