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

Docker-compose log output during intial start of services #54

Open
bergtwvd opened this issue Oct 30, 2016 · 7 comments
Open

Docker-compose log output during intial start of services #54

bergtwvd opened this issue Oct 30, 2016 · 7 comments

Comments

@bergtwvd
Copy link

I have a large set of services defined that are spread around in my cluster by swarm. When I press the Up button in the Compose UI it starts working (shown by the animation), but there is no information about progress and possible problems in this phase. In this phase I need to go to the console and get the Compose UI log to see what is going on. So, a feature request is to get this informaion via the web GUI.

-- TB

@francescou
Copy link
Owner

Hi, could you please provide me an example of docker-compose.yml file to test this situation?

@bergtwvd
Copy link
Author

bergtwvd commented Oct 31, 2016

The particular compose file is not terribly important. In the compose file I start a bunch of containers. Only once ComposeUI ends the animation I can press the logs button to see what happened. In my use case I would like to see the log information while the containers are started.

Sequence now is:

press UP
Animation starts (ComposeUI is busy starting the containers)
(containers are started)
Animation stops
press LOGS to see what happened

@francescou
Copy link
Owner

Hi, I think I've managed to reproduce the issue and maybe I've found a solution.

You can try the fix on the start-logs branch, please let me know if you think it can be an acceptable solution.

@bergtwvd
Copy link
Author

bergtwvd commented Nov 1, 2016

I'm afraid my PC environment is not setup to test this from the source code, Is there an image that I can pull to test it?

@francescou
Copy link
Owner

I've created a new tag, you can use francescou/docker-compose-ui:start-logs

@bergtwvd
Copy link
Author

bergtwvd commented Nov 3, 2016

Thanks. I ran the image. I see some small windows poping up on the right side of the browser windows with some information in it. Is this correct? And what information is intended to be displayed here? (the popups disappear before I have a chance to read them).

Alternatively, is it possible to have the Logs button enabled while the services are being started by ComposeUI? Similarly, also for the other actions?
In my situation the services take a while to start and with intermediate access to the logs I can monitor progress.

@francescou
Copy link
Owner

you're right: I've displayed log lines as notifications.
I will try to find a better way to display logs while starting a project

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