I\'m using HtmlUnit to interact with a web page that interacts with the server via Ajax. Soon after the Ajax code starts, HtmlUnit produces these two log messages:
Try by writing your own log4j config file, and making htmlunit use it with the java option:
-Dlog4j.configuration=file:///my/conf/log4j.properties
Then in your log4j.properties:
log4j.logger.com.gargoylesoftware.htmlunit=error