diff --git a/config/zephyr/Kconfig b/config/zephyr/Kconfig index b3404c5ef3de08..a390f78b429527 100644 --- a/config/zephyr/Kconfig +++ b/config/zephyr/Kconfig @@ -125,4 +125,8 @@ config APP_LINK_WITH_CHIP Add Connected Home over IP header files to the 'app' include path and link the 'app' with Connected Home over IP libraries. +module = MATTER +module-str = Matter +source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config" + endif diff --git a/src/platform/Zephyr/Logging.cpp b/src/platform/Zephyr/Logging.cpp index f2bb80877e4d5a..017ed0f478313c 100644 --- a/src/platform/Zephyr/Logging.cpp +++ b/src/platform/Zephyr/Logging.cpp @@ -18,7 +18,7 @@ #define LOG_MESSAGE(msg) (msg) #endif -LOG_MODULE_REGISTER(chip, LOG_LEVEL_DBG); +LOG_MODULE_REGISTER(chip, CONFIG_MATTER_LOG_LEVEL); namespace chip { namespace DeviceLayer {