Skip to content

Commit

Permalink
Changed ChipLoggingDetail to use ESP_LOGD
Browse files Browse the repository at this point in the history
  • Loading branch information
jadhavrohit924 committed Apr 21, 2022
1 parent fdd0eca commit 23a0618
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config/esp32/components/chip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -758,12 +758,12 @@ menu "CHIP Device Layer"

config CHIP_ENABLE_SCHEMA_CHECK
bool "Enable Schema Check"
default n
default y
help
If enabled, it checks incoming messages are following the expected schema,
and incoming message payloads are logged in detail.
To see detailed logging please set default log level to Verbose.
(Component config --> Log output --> Default log verbosity --> Verbose)
To see detailed logging please set default log level to Debug.
(Component config --> Log output --> Default log verbosity --> Debug)

endmenu

Expand Down
2 changes: 1 addition & 1 deletion src/platform/ESP32/Logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void ENFORCE_FORMAT(3, 0) LogV(const char * module, uint8_t category, const char
ESP_LOGI(tag, "%s", formattedMsg);
break;
case kLogCategory_Detail:
ESP_LOGV(tag, "%s", formattedMsg);
ESP_LOGD(tag, "%s", formattedMsg);
break;
}
}
Expand Down

0 comments on commit 23a0618

Please sign in to comment.