On Thursday, March 10, 2016 at 9:31:04 AM UTC+1, Denny Kluge wrote:
>
> This is probably a newbie question, but I googled around for the past half 
> hour 
> without finding a solution. So when I run a GWTTestCase in Eclipse,
> tons of log info are spewed out to the Eclipse console by htmlunit and other 
> sub-components of the GWT JUnit environment. E.g.,
>
> 00:48:05.949 [htmlUnit client thread] DEBUG org.apache.http.wire - >> 
> "GET/com.gxe.GwtTest.JUnit/com.gxe.GwtTest.JUnit.nocache.js 
> HTTP/1.1[EOL]"
> 00:48:05.949 [htmlUnit client thread] DEBUG org.apache.http.wire - >> "Host: 
> 192.168.1.124:37966[EOL]"
> 00:48:05.949 [htmlUnit client thread] DEBUG org.apache.http.wire - >> 
> "User-Agent: 
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19)
> Gecko/2010031422 Firefox/3.0.19[EOL]"
> ....
>
> Does anyone know how I can tune down the log level of the GWT Junit 
> environment?
>

You must have some logging configuration file in your classpath (or system 
properties) such that Apache Commons Logging configures itself with DEBUG 
logging.
See http://htmlunit.sourceforge.net/logging.html 
and https://commons.apache.org/proper/commons-logging/guide.html
AFAICT, HtmlUnit should by default use java.util.logging, so that'd mean 
you have a java.util.logging.config.file system property set to some file 
that configures logging at DEBUG level; or your JRE's 
lib/logging.properties sets logging to DEBUG by default.
But if you have Log4j in your classpath (or an adapter for Log4j 2.x or 
SLF4J), then that'd be used instead, so look for a log4j.properties in your 
classpath.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to