Each time I use docker-compose up
to restart an existing set of containers, I see huge amounts of old log messages dumped to the screen.
This was not the case before 1.4.0. Older versions did only output new messages.
I don't need this and suggest a feature to turn that off (unless there already is one, which I couldn't find).
This is a duplicate of #1756
You can docker-compose rm
the containers if you want to remove the logs
But I don't want to rm
existing containers. For example during development I have a MySQL container and don't want to loose the DB content on each startup. But will continue discussion in the other issue then.
Yes, sorry, I was just suggesting that as a possible workaround for now. We still need to fix the issue.
Any update on this. It's been 2 years.
@dnephin any progress on fixing the issue?
Bump
I'm running into the same issue. docker-compose up
is suddenly dumping one week worth of old logs, where previous invocations of docker-compose up
didn't do that.
Same here... Issue https://github.com/docker/compose/issues/1083 seems to hold more usable info. It is also closed.
Most helpful comment
I'm running into the same issue.
docker-compose up
is suddenly dumping one week worth of old logs, where previous invocations ofdocker-compose up
didn't do that.