From 76c3f136309588cca62cb5db67d174e80b2a474a Mon Sep 17 00:00:00 2001 From: jasquat Date: Fri, 30 Dec 2022 10:06:52 -0500 Subject: [PATCH] ensure we get logs for both db and backend with docker compose w/ burnettk --- spiffworkflow-backend/bin/get_logs_from_docker_compose | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spiffworkflow-backend/bin/get_logs_from_docker_compose b/spiffworkflow-backend/bin/get_logs_from_docker_compose index 78c7684e..d2c06c6f 100755 --- a/spiffworkflow-backend/bin/get_logs_from_docker_compose +++ b/spiffworkflow-backend/bin/get_logs_from_docker_compose @@ -7,4 +7,5 @@ function error_handler() { trap 'error_handler ${LINENO} $?' ERR set -o errtrace -o errexit -o nounset -o pipefail -docker compose logs "$@" +# "docker compose logs" is only getting the db logs so specify them both +docker compose logs db spiffworkflow-backend