Printing timestamps in Docker Compose logs
I can see the logs web
since docker-compose logs web
, but I would like to add timestamps to these messages because now they are completely out of context (not sure when the event happened). I tried docker-compose logs -t web
it but it looks like Docker Compose doesn't know this flag.
Do you have any ideas on how to timestamp Docker Compose logs?
+3
source to share