diff --git a/services/dask-sidecar/docker/boot.sh b/services/dask-sidecar/docker/boot.sh index f9bea540ff0d..a0ee0a7b036d 100755 --- a/services/dask-sidecar/docker/boot.sh +++ b/services/dask-sidecar/docker/boot.sh @@ -35,6 +35,9 @@ fi if [ ${DASK_START_AS_SCHEDULER+x} ]; then scheduler_version=$(dask scheduler --version) + mkdir --parents /home/scu/.config/dask + dask_logging=$(printf "logging:\n distributed: %s\n distributed.scheduler: %s" "${LOG_LEVEL:-warning}" "${LOG_LEVEL:-warning}") + echo "$dask_logging" >> /home/scu/.config/dask/distributed.yaml echo "$INFO" "Starting as dask scheduler:${scheduler_version}..." if [ "${SC_BOOT_MODE}" = "debug-ptvsd" ]; then