Open JCMarques15 opened 1 year ago
timestamps are added by Docker engine, we just receive a raw string, which includes timestamp as a prefix. being able to re-order logs in time would require to parse logs for timestamp and implement time-sorting.
Ha i see, thank you for taking the time to explain it. It would be cool to see that implemented, but I'm sure there are many more important things to implement before this.
Thank you once again for the time, have a great day!
Ha i see, thank you for taking the time to explain it. It would be cool to see that implemented, but I'm sure there are many more important things to implement before this.
Thank you once again for the time, have a great day!
Description
When specifying 2 or more services with the command:
The output comes out of sequence. it always prints all the log lines of one container and then the second, instead of the expected interlaced way based on timestamp of the log line as it is when you dont specify any service and rather grab all the services.
I am not sure if this is a bug or intended but though of making you guys aware in case it is a bug. Thank for your time and my apologies if this was intended.
Steps To Reproduce
docker-compose logs <service 1/n> <service 2/n> ...
Compose Version
Docker Environment
Anything else?
No response