diff --git a/.docker/gsad_log.conf b/.docker/gsad_log.conf index 865948097..ad26f8017 100644 --- a/.docker/gsad_log.conf +++ b/.docker/gsad_log.conf @@ -2,26 +2,26 @@ prepend=%t %s %p separator=: prepend_time_format=%Y-%m-%d %Hh%M.%S %Z -file=/var/log/gvm/gsad.log +file=- level=127 [gsad gmp] prepend=%t %s %p separator=: prepend_time_format=%Y-%m-%d %Hh%M.%S %Z -file=/var/log/gvm/gsad.log +file=- level=127 [gsad http] prepend=%t %s %p separator=: prepend_time_format=%Y-%m-%d %Hh%M.%S %Z -file=/var/log/gvm/gsad.log +file=- level=127 [*] prepend=%t %s %p separator=: prepend_time_format=%Y-%m-%d %Hh%M.%S %Z -file=/var/log/gvm/gsad.log +file=- level=16 diff --git a/.docker/start-gsad.sh b/.docker/start-gsad.sh index d4394a986..52941d62f 100644 --- a/.docker/start-gsad.sh +++ b/.docker/start-gsad.sh @@ -1,9 +1,6 @@ #!/bin/sh -[ -z "$GSAD_ARGS" ] && GSAD_ARGS="--http-only" +[ -z "$GSAD_ARGS" ] && GSAD_ARGS="-f --http-only" echo "starting gsad" -gsad $GSAD_ARGS || - (cat /var/log/gvm/gsad.log && exit 1) - -tail -f /var/log/gvm/gsad.log +gsad $GSAD_ARGS 2>&1 | tee /var/log/gvm/gsad.log