From 26f7126cb0f41379f0196d52a52411cfdbb23128 Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Thu, 15 Nov 2018 12:11:08 +0300 Subject: [PATCH] Fix #138 --- run-document-server.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-document-server.sh b/run-document-server.sh index c31f204..38c11b8 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -67,7 +67,7 @@ read_setting(){ REDIS_SERVER_HOST=${REDIS_SERVER_HOST:-$(${JSON} services.CoAuthoring.redis.host)} REDIS_SERVER_PORT=${REDIS_SERVER_PORT:-6379} - DS_LOG_LEVEL=${DS_LOG_LEVEL:-$(${JSON_LOG} levels.nodeJS)} + DS_LOG_LEVEL=${DS_LOG_LEVEL:-$(${JSON_LOG} categories.default.level)} } parse_rabbitmq_url(){ @@ -256,7 +256,7 @@ update_supervisor_settings(){ } update_log_settings(){ - ${JSON_LOG} -I -e "this.levels.nodeJS = '${DS_LOG_LEVEL}'" + ${JSON_LOG} -I -e "this.categories.default.level = '${DS_LOG_LEVEL}'" } # create base folders