New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geb&Htmlunit: how to configure logging #98

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

Comments

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

This comment has been minimized.

Show comment
Hide comment
@geb-bot

geb-bot commented Oct 22, 2011

Resolved

@geb-bot geb-bot added the Improvement label 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