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

'fig logs' exits when a service is stopped #289

Closed
stefanfoulis opened this issue Jul 4, 2014 · 5 comments
Closed

'fig logs' exits when a service is stopped #289

stefanfoulis opened this issue Jul 4, 2014 · 5 comments

Comments

@stefanfoulis
Copy link

I usually have a console open that just shows the output of fig logs. In a other console I use fig start ... and fig stop ... and other commands to alter the environment.

Every time a service is stopped, the logs command also exists.

@stefanfoulis stefanfoulis changed the title fig logs exits if a service is stopped 'fig logs' exits if a service is stopped Jul 4, 2014
@stefanfoulis stefanfoulis changed the title 'fig logs' exits if a service is stopped 'fig logs' exits when a service is stopped Jul 4, 2014
@aanand
Copy link

aanand commented Jul 4, 2014

Mmm, yes, this is a regression. Probably fixable by only doing this bit when we're running fig up, not fig logs.

@stefanfoulis
Copy link
Author

ping :-)
I just tested this with fig 1.0 and the problem still exists.

@gastonmorixe
Copy link

any update? it's kind of annoying :(

@thaJeztah
Copy link
Member

For reference, the link in Aanands comment no longer works because the repository was moved to "docker" and the rebranding to "compose"; this one should work; https://github.com/docker/fig/blob/master/compose/cli/log_printer.py#L56-L58 (not sure if the line numbers are correct). This will change again soon once the repository is renamed to "compose" :)

@aanand
Copy link

aanand commented Sep 24, 2015

This was fixed in #1754, and will land in 1.5.

@aanand aanand closed this as completed Sep 24, 2015
xulike666 pushed a commit to xulike666/compose that referenced this issue Jan 19, 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

5 participants