hollingsworthd / jBrowserDriver

A programmable, embeddable web browser driver compatible with the Selenium WebDriver spec -- headless, WebKit-based, pure Java
Other
812 stars 143 forks source link

Always logging to standard error #356

Open rupebac opened 5 years ago

rupebac commented 5 years ago

https://github.com/MachinePublishers/jBrowserDriver/blob/ccfd99d0e10726b7bf16b114b27b2f456cf578a9/src/com/machinepublishers/jbrowserdriver/Settings.java#L57

Here you are installing your own LogHandler, which is printing stuff to the Standard error. Why are you forcing this? this should be the responsibility of the logger. Just move it to a configuration properties file:

https://stackoverflow.com/questions/960099/how-to-set-up-java-logging-using-a-properties-file-java-util-logging

It has been driving us crazy, trying to wonder where all these org.apache.http debug entries were coming from.