Skip to content

Commit 42f7713

Browse files
authored
Merge pull request #58 from yoziru/CarServerResponse-log-DEBUG-instead-of-INFO
CarServerResponse: log DEBUG instead of INFO
2 parents 51b21e5 + a63a92b commit 42f7713

File tree

1 file changed

+4
-4
lines changed
  • components/tesla_ble_vehicle

1 file changed

+4
-4
lines changed

components/tesla_ble_vehicle/log.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,17 +572,17 @@ const char *carserver_operation_status_to_string(CarServer_OperationStatus_E sta
572572

573573
void log_carserver_response(const char *tag, const CarServer_Response *msg)
574574
{
575-
ESP_LOGI(tag, "CarServerResponse:");
575+
ESP_LOGD(tag, "CarServerResponse:");
576576
if (msg->has_actionStatus)
577577
{
578-
ESP_LOGI(tag, " ActionStatus:");
579-
ESP_LOGI(tag, " result: %s", carserver_operation_status_to_string(msg->actionStatus.result));
578+
ESP_LOGD(tag, " ActionStatus:");
579+
ESP_LOGD(tag, " result: %s", carserver_operation_status_to_string(msg->actionStatus.result));
580580
if (msg->actionStatus.has_result_reason)
581581
{
582582
switch (msg->actionStatus.result_reason.which_reason)
583583
{
584584
case CarServer_ResultReason_plain_text_tag:
585-
ESP_LOGI(tag, " reason: %s", msg->actionStatus.result_reason.reason.plain_text);
585+
ESP_LOGD(tag, " reason: %s", msg->actionStatus.result_reason.reason.plain_text);
586586
break;
587587
default:
588588
ESP_LOGD(tag, " unknown reason");

0 commit comments

Comments
 (0)