Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Detect container rename #144
logspout does not detect the new container name after it is renamed:
We are using dokku and noticed that stoping/starting logspout resolves this issue.
But it would be nice if logspout could automatically detect a container renaming.
@progrium any thoughts here? I'm running into this too since I've started using logspout in prod. I'm happy to have a go at making this work but not sure where to start.
Additionally, I could modify dokku-logspout to restart on post-deploy, but does that mean logs would be dropped or does logspout maintain some sort of state as to ship missed logs while it was not running?
Turns out, yes.
Executing this command:
Yields this single event: