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

How to disable the DEBUG logging docker-it-scala provides? #77

Closed
akauppi opened this issue Feb 23, 2017 · 2 comments
Closed

How to disable the DEBUG logging docker-it-scala provides? #77

akauppi opened this issue Feb 23, 2017 · 2 comments

Comments

@akauppi
Copy link
Contributor

akauppi commented Feb 23, 2017

I enabled Logback in my project, for other reasons, and suddenly docker-it-scala started to through multiple pages of logs, whenever my tests run.

I would like to live without that (since things work) - where and how should I shut it up?

Version 0.9.1 on MacOS with docker-machine

@viktortnk
Copy link
Contributor

@akauppi I think you should be able to configure per package logger configuration to include your logs and exclude ones coming from lib
https://logback.qos.ch/manual/configuration.html

@akauppi
Copy link
Contributor Author

akauppi commented Feb 25, 2017

I got it fixed by adding these to logback-test.xml:

<logger name="org.apache.http" level="warn"/>
<logger name="com.github.dockerjava" level="warn"/>

It's not really a docker-it-scala issue, per se, but the amount of unrelated logging that came from those libraries was overwhelming. Maybe this is something that can be mentioned in documentation/README, since the cure is rather simple.

@akauppi akauppi closed this as completed Feb 25, 2017
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

2 participants