Since they are all based on the same components, take a look at or







From: [] On Behalf Of DOUTCH GARETH-GDO003
Sent: Monday, July 07, 2008 6:25 AM
Subject: [Jython-users] Hide unwanted commons logging trace?


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)


Generates the output:

07-Jul-2008 14:18:44 jsxSet_cookie
INFO: Added cookie: testcookie=1
07-Jul-2008 14:18:44 jsxSet_cookie
INFO: Added cookie: testcookie=
07-Jul-2008 14:18:44 jsxSet_cookie
INFO: Added cookie: khcookie=fzwq2gh2pz1eDnO5bRamCTbugf_q4fmi-ww4Hg
Exception in declaration()


The project uses the commons logging package, and I haven't a clue how to disable the output. Can anybody help?






This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.