From 18b2f0a87f0be558d5d1e6b81945f120ae423990 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Sun, 12 Apr 2026 20:01:59 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8D=20test:=20print=20formatted=20serv?= =?UTF-8?q?er=20log=20at=20end=20of=20graceful=20shutdown=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Display the full log as a readable summary before cleanup so the complete server lifecycle is visible in test output without needing to preserve the log file manually. Co-Authored-By: Claude Sonnet 4.6 --- scripts/test-graceful-shutdown.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/test-graceful-shutdown.sh b/scripts/test-graceful-shutdown.sh index 63930ec..6b362bc 100755 --- a/scripts/test-graceful-shutdown.sh +++ b/scripts/test-graceful-shutdown.sh @@ -231,6 +231,12 @@ fi echo "" echo -e "\033[0;32m🎉 GRACEFUL SHUTDOWN TEST PASSED!\033[0m" echo "All required logs are present and in correct order." + +echo "" +echo "📋 Full server log:" +echo "===============================" +cat "$LOG_FILE" | jq -r '"[\(.level | ascii_upcase)] \(.time | tostring) — \(.message)"' +echo "===============================" echo "" # Clean up