From ed4db714ad10e0e0773156fc44ed03700082ebe8 Mon Sep 17 00:00:00 2001 From: Kamil Kasperczyk <66371704+kkasperczyk-no@users.noreply.github.com> Date: Fri, 24 Feb 2023 03:49:33 +0100 Subject: [PATCH] [nrfconnect] Changed log levels for two modules (#25274) Debug logs from DeviceLayer and applications are not visible because configured log level is too high. Changed log level for both modules to detailed. --- config/nrfconnect/chip-module/Kconfig.defaults | 5 ++++- src/platform/nrfconnect/CHIPPlatformConfig.h | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/nrfconnect/chip-module/Kconfig.defaults b/config/nrfconnect/chip-module/Kconfig.defaults index 26126987a5055c..a2a26ca591bed9 100644 --- a/config/nrfconnect/chip-module/Kconfig.defaults +++ b/config/nrfconnect/chip-module/Kconfig.defaults @@ -33,8 +33,11 @@ choice MATTER_LOG_LEVEL_CHOICE default MATTER_LOG_LEVEL_DBG endchoice +config CHIP_APP_LOG_LEVEL + default 4 # debug + config LOG_DEFAULT_LEVEL - default 2 + default 2 # warning config CHIP_LOG_SIZE_OPTIMIZATION default y diff --git a/src/platform/nrfconnect/CHIPPlatformConfig.h b/src/platform/nrfconnect/CHIPPlatformConfig.h index f812fd5ededff5..c2d34bea2ac4c9 100644 --- a/src/platform/nrfconnect/CHIPPlatformConfig.h +++ b/src/platform/nrfconnect/CHIPPlatformConfig.h @@ -93,7 +93,6 @@ #define CHIP_CONFIG_LOG_MODULE_AppServer_DETAIL 0 #define CHIP_CONFIG_LOG_MODULE_Support_DETAIL 0 #define CHIP_CONFIG_LOG_MODULE_Support_PROGRESS 0 -#define CHIP_CONFIG_LOG_MODULE_DeviceLayer_DETAIL 0 #endif // Set MRP retry intervals for Thread and Wi-Fi to test-proven values.