Skip to content

Instantly share code, notes, and snippets.

@dlebrero
Last active May 20, 2022 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlebrero/ce71a037b01618161204f21d5f6f9de9 to your computer and use it in GitHub Desktop.
Save dlebrero/ce71a037b01618161204f21d5f6f9de9 to your computer and use it in GitHub Desktop.
error log
git remote -v > report.txt
git rev-parse HEAD >> report.txt
uname -a >> report.txt
docker -v >> report.txt
docker-compose -v >> report.txt
echo "---------------------" >> report.txt
docker-compose logs --timestamps >> report.txt
@daveduthie
Copy link

How about timestamping log lines?

docker-compose logs --timestamps

@dlebrero
Copy link
Author

How about timestamping log lines?

docker-compose logs --timestamps

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment