-
Notifications
You must be signed in to change notification settings - Fork 25
How to turn off htmlunit logging? #65
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
Comments
@Hi-Fi Perhaps, you have thoughts on that? I'd be grateful for help! |
I think this should be handled at the SeleniumLibrary side. Maven plugin doesn't make any actions to other logging than RF level (and mentioned one is coming directly to stdout). |
An update in case it can be helpful to someone else: The loglevel is set and managed by Maven. Here is the details: https://maven.apache.org/maven-logging.html It uses slf4j and SimpleLogger by default. In order to suppress annoying htmlunit messages, I passed the following options:
In order to use them always and by default, I put these lines into |
When I run robot tests (that uses https://github.com/Hi-Fi/robotframework-seleniumlibrary-java and htmlunit), I see the messages from htmlunit and I didn't find a way on how to turn them off.
Example:
I have the
src/test/resources/logback-test.xml
file that turns them off but it didn't take into an action. Also, I'm not fully sure whether it's a plugin's responsibility or therobotframework-seleniumlibrary-java
.How I can disable these messages?
The text was updated successfully, but these errors were encountered: