Skip to content
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
Closed

Geb&Htmlunit: how to configure logging #98

geb-bot opened this issue Jul 18, 2011 · 1 comment
Assignees
Milestone

Comments

@geb-bot
Copy link

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
Copy link
Author

geb-bot commented Oct 22, 2011

Resolved

@geb-bot geb-bot added this to the 0.6.1 milestone Apr 12, 2015
@geb-bot geb-bot closed this as completed Apr 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants