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

Always logging to standard error #356

Open
rupebac opened this issue Nov 6, 2019 · 0 comments
Open

Always logging to standard error #356

rupebac opened this issue Nov 6, 2019 · 0 comments

Comments

@rupebac
Copy link

rupebac commented Nov 6, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant