This commit is contained in:
Adil Hafeez 2024-10-27 15:51:20 -07:00
parent 608ef35af7
commit f2e0ed9398

View file

@ -2,10 +2,21 @@
# if any of the commands fail, the script will exit
set -e
pwd
. ./common_scripts.sh
print_debug() {
log "Received signal to stop"
log "Printing debug logs for model_server"
log "===================================="
tail -n 500 ~/archgw_modelserver.log
log "Printing debug logs for docker"
log "===================================="
tail -n 500 ../build.log
}
trap 'print_debug' INT TERM
log starting > ../build.log
log building function_callling demo