docker compose logs --timestamps web

Category: Docker

docker compose logs --timestamps web

Show service logs with timestamps

Prepends a timestamp to every log line so you can correlate events across services. The -t shorthand does the same. Timestamps come from the container runtime, not the application.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.