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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect Docker-Compose stderr to INFO logger #1485

Merged
merged 1 commit into from May 21, 2019
Merged

Conversation

kiview
Copy link
Member

@kiview kiview commented May 21, 2019

Fixes #1472

Will be logged like this now:

12:32:57.136 INFO  馃惓 [docker/compose:1.8.0] - Docker Compose container is running for command: pull
12:32:57.136 INFO  馃惓 [docker/compose:1.8.0] - STDERR: Pulling db (orchardup/mysql:latest)...
12:32:57.137 INFO  馃惓 [docker/compose:1.8.0] - STDOUT: latest: Pulling from orchardup/mysql

Docker-Compose logs pull information to stderr, but we don't want those
logs in our ERROR logger.
@kiview kiview added this to the next milestone May 21, 2019
@rnorth rnorth merged commit 24e6f11 into master May 21, 2019
@delete-merged-branch delete-merged-branch bot deleted the docker-compose-info-log branch May 21, 2019 15:53
@rnorth rnorth modified the milestones: next, 1.11.3 May 21, 2019
@rnorth
Copy link
Member

rnorth commented May 21, 2019

Released in 1.11.3. Thanks for the contribution!

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

Successfully merging this pull request may close these issues.

docker-compose logging at WARN
2 participants