DVL-005 Show log files on error

This commit is contained in:
cytopia 2017-04-21 02:07:45 +02:00
parent 260eed9293
commit 8295e1ac18
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -448,7 +448,18 @@ debilbox_test() {
docker-compose ps
echo
echo "docker-compose logs"
echo "------------------------------------------------------------"
docker-compose logs
echo
echo "log files"
echo "------------------------------------------------------------"
find log -type f -exec sh -c 'echo "{}:\n-----------------"; cat "{}"' \;
return 1
fi
return 0