From 26bf85bad6d926255f7bf0fcb483849f92b7755c Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Sun, 18 Sep 2016 21:01:28 +0800 Subject: [PATCH] components/log: set default runtime log level to ESP_LOG_VERBOSE With this change, it is possible to use LOG_LOCAL_LEVEL to raise debug level for given file/component --- components/log/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/log/log.c b/components/log/log.c index 9063d264e..b347b20a3 100644 --- a/components/log/log.c +++ b/components/log/log.c @@ -79,7 +79,7 @@ typedef struct uncached_tag_entry_{ char tag[0]; // beginning of a zero-terminated string } uncached_tag_entry_t; -static esp_log_level_t s_log_default_level = (esp_log_level_t) CONFIG_LOG_DEFAULT_LEVEL; +static esp_log_level_t s_log_default_level = ESP_LOG_VERBOSE; static uncached_tag_entry_t* s_log_tags_head = NULL; static uncached_tag_entry_t* s_log_tags_tail = NULL; static cached_tag_entry_t s_log_cache[TAG_CACHE_SIZE];