Allow specifying the BUILD_LOG_LEVEL separately

This commit is contained in:
Zahary Karadjov 2021-02-18 23:34:17 +02:00
parent 17aeb26a24
commit 8de1f8036c
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ ifeq ($(V), 0)
endif endif
# Chronicles log level # Chronicles log level
ifdef LOG_LEVEL ifdef BUILD_LOG_LEVEL
NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_log_level="$(BUILD_LOG_LEVEL)"
else ifdef LOG_LEVEL
NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_log_level="$(LOG_LEVEL)" NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_log_level="$(LOG_LEVEL)"
endif endif