From 45097a10d90aa564f9859b1e3e3e73ddb078c081 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 78c7684e3..d2c06c6f3 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