-
Notifications
You must be signed in to change notification settings - Fork 142
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
Driver still logs on console even if all settings are set to false #175
Comments
I think it's something to do with the logging configuration and level in Spring Boot. But you can also try |
There may be a bug here. Each instance is backed by a separate JRE process. Maybe the logging config isn't getting passed on if it's being set by system properties. |
Spring boot uses slf4j and logback-classic.. So there is 2 binds of slf4j, and i can not properly configure it. I had tried to exclude all slf4j dependencies, tried to configure it with spring's configurations: |
For now. It's a workaround. When this issue is closed/fixed ideally you'll be able to use a non-null logger or whatever you want and not be spammed by Apache wire logs. Another workaround that would be better (to not have extraneous logs generated and ignored which is what's happening now) might be |
Settings settings = Settings.builder() .logWire(false) .logTrace(false) .logWarnings(false) .timezone(Timezone.AMERICA_NEWYORK).build();
With above settings the driver still logs everything.
I have Spring boot as a dependency.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
Is there a solution for this issue? What i'm doing wrong?
The text was updated successfully, but these errors were encountered: