Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Complete logs command #210

Closed
vdemeester opened this issue Apr 16, 2016 · 3 comments
Closed

Complete logs command #210

vdemeester opened this issue Apr 16, 2016 · 3 comments

Comments

@vdemeester
Copy link
Collaborator

Add support for more flags/options for the logs command, and set the same behaviour as the compose one :

  • Added --follow, --timestamp, and --tail flags to the
    docker-compose logs command.
  • docker-compose logs now shows logs for new containers that are created
    after it starts.
  • docker-compose logs no longer follows log output by default. It now
    matches the behaviour of docker logs and exits after the current logs
    are printed. Use -f to get the old default behaviour.
@vdemeester
Copy link
Collaborator Author

This should be fixed at some point with the related PR: #290

@jayhding
Copy link

@vdemeester #290 and docker/engine-api#315 were both closed. Could you please comment if tail option can be supported in libcompose? Thanks.

@vdemeester
Copy link
Collaborator Author

@JayHaoDing yes at some point it will, I just have to find time to work on that again 👼

@vdemeester vdemeester removed their assignment Mar 10, 2017
@vdemeester vdemeester modified the milestone: 0.5.0 Tiny Turing Mar 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants