Compose: Old logs dumped to terminal on startup

Created on 30 Sep 2015  路  8Comments  路  Source: docker/compose

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).

arelogs kinbug

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 of docker-compose up didn't do that.

All 8 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

darkrasid picture darkrasid  路  3Comments

squeaky-pl picture squeaky-pl  路  3Comments

maltefiala picture maltefiala  路  3Comments

saulshanabrook picture saulshanabrook  路  3Comments

dazorni picture dazorni  路  3Comments