From 1f089ec6f9af294b3bf4323dae75b3fae8f78953 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Mon, 9 Oct 2023 11:31:16 +0200 Subject: [PATCH] log commands as debug --- src/command.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/command.cpp b/src/command.cpp index 2a906fcdb..e3beceea8 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -338,12 +338,12 @@ uint8_t Command::call(const uint8_t device_type, const char * cmd, const char * snprintf(info_s, sizeof(info_s), "'%s/%s'", dname, cmd); } if ((value == nullptr) || (strlen(value) == 0)) { - LOG_WARNING(("%sCalling command %s"), ro.c_str(), info_s); + LOG_DEBUG(("%sCalling command %s"), ro.c_str(), info_s); } else { if (id > 0) { - LOG_WARNING(("%sCalling command %s with value %s and id %d on device 0x%02X"), ro.c_str(), info_s, value, id, device_id); + LOG_DEBUG(("%sCalling command %s with value %s and id %d on device 0x%02X"), ro.c_str(), info_s, value, id, device_id); } else { - LOG_WARNING(("%sCalling command %s with value %s"), ro.c_str(), info_s, value); + LOG_DEBUG(("%sCalling command %s with value %s"), ro.c_str(), info_s, value); } }