Geb&Htmlunit: how to configure logging #98

Closed
geb-bot opened this Issue Jul 18, 2011 · 1 comment

Projects

None yet

2 participants

@geb-bot
geb-bot commented Jul 18, 2011

Originally created by alpheratz.

Ref: http://markmail.org/thread/w2imublzjvpfqqqg

Might be a good idea to add some info regarding how to avoid noisy logging on the console.

This does the job for me:

groovy -Dgeb.browser=htmlunit -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.log.com.gargoylesoftware.htmlunit=FATAL Google.geb

or in a script:

System.properties.with { p ->
  p['geb.browser']='htmlunit'
  p['org.apache.commons.logging.Log']='org.apache.commons.logging.impl.SimpleLog'
  p['org.apache.commons.logging.simplelog.log.com.gargoylesoftware.htmlunit']='FATAL'
}
@geb-bot
geb-bot commented Oct 22, 2011

Resolved

@geb-bot geb-bot added the Improvement label Apr 12, 2015
@alkemist alkemist was assigned by geb-bot Apr 12, 2015
@geb-bot geb-bot added this to the 0.6.1 milestone Apr 12, 2015
@geb-bot geb-bot closed this Apr 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment