Dump agent and vault logs in t/api
@@ -116,6 +116,12 @@ EOF
while ! curl -Ls --fail http://${SHIELD_DAEMON_ADDR}/v2/info; do
if [[ $n -eq 0 ]]; then
echo >&2 "SHIELD core did not spin up within 60s; aborting"
+ echo >&2 "---[ vault log ]-------------------------------------------"
+ cat >&2 ${WORKDIR}/vault.log
+ echo >&2
+ echo >&2 "---[ agent log ]-------------------------------------------"
+ cat >&2 ${WORKDIR}/agent.log
+ echo >&2
echo >&2 "---[ shieldd log ]-----------------------------------------"
cat >&2 ${WORKDIR}/core.log
echo >&2 "-----------------------------------------------------------"
