Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Adding CLI option to not use logging driver #157

Merged
merged 1 commit into from
Oct 27, 2016

Conversation

dsingh07
Copy link
Contributor

By default logs are always sent to the specified logging driver. Added a CLI option adop compose init --with-stdout which enables us to not forward the logs to the specified logging driver, and simply run docker logs for the required container on the host.

@michael-t-dukes
Copy link
Contributor

+1

@nickdgriffin nickdgriffin added this to the 0.3.0 milestone Oct 27, 2016
@anton-kasperovich
Copy link
Contributor

Tested, seems to be working ;)

./adop compose init --with-stdout

root@adop-scw-a1e3a9:~# docker logs proxy
waiting for kibana:5601 to be available
kibana:5601 unavailable, sleeping for 2
waiting for gerrit:8080/gerrit to be available
gerrit:8080/gerrit unavailable, sleeping for 2

./adop compose init --without-pull

root@adop-scw-a1e3a9:/data/adop-docker-compose# docker logs proxy
"logs" command is supported only for "json-file" and "journald" logging drivers (got: syslog)

LGTM. Thank you!

@anton-kasperovich anton-kasperovich merged commit 75bc872 into Accenture:master Oct 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants