From d504933520ea508f7c4bb77659866d32a774d33c Mon Sep 17 00:00:00 2001 From: Tim Martin Date: Tue, 3 Jan 2023 18:18:36 -0700 Subject: [PATCH] increase final logs on drupal err --- idc.Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/idc.Makefile b/idc.Makefile index 63948ebd9..e34ed454e 100644 --- a/idc.Makefile +++ b/idc.Makefile @@ -206,6 +206,8 @@ _docker-up-and-wait: while [ "healthy" != "$$healthState" ] ; do \ if [ "running" != "$$( docker inspect -f '{{ .State.Status }}' $$containerName )" ] ; then \ echo "Drupal container has exited. This is abnormal but possibly caused by drupal module sync issue" ; \ + printf "final drupal container logs:\n ...\n" ; \ + docker-compose logs drupal | tail -30 | sed 's/^/ /' ; \ exit 1 ; \ fi ; \ sleep 10 ; \