From 05c4d0d3d1507e3549f1dc447b4f8cb644bd6961 Mon Sep 17 00:00:00 2001 From: Vivek Kumar Dutta Date: Tue, 24 Jun 2025 12:59:33 +0530 Subject: [PATCH] obuspa: Fix log level for some recurring logs --- obuspa/Makefile | 2 +- obuspa/patches/1000-suppress-logs.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/obuspa/Makefile b/obuspa/Makefile index d0cd5ab83..9f32db1e7 100644 --- a/obuspa/Makefile +++ b/obuspa/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=obuspa -PKG_VERSION:=10.0.0.12 +PKG_VERSION:=10.0.0.13 LOCAL_DEV:=0 ifneq ($(LOCAL_DEV),1) diff --git a/obuspa/patches/1000-suppress-logs.patch b/obuspa/patches/1000-suppress-logs.patch index 24e8a9fe9..5f2bf3c7c 100644 --- a/obuspa/patches/1000-suppress-logs.patch +++ b/obuspa/patches/1000-suppress-logs.patch @@ -35,3 +35,16 @@ Index: obuspa-10.0.0.2/src/core/data_model.c return USP_ERR_OBJECT_DOES_NOT_EXIST; } +diff --git a/src/core/mqtt.c b/src/core/mqtt.c +index 388697a..444b4da 100644 +--- a/src/core/mqtt.c ++++ b/src/core/mqtt.c +@@ -4020,7 +4020,7 @@ void MessageV5Callback(struct mosquitto *mosq, void *userdata, const struct mosq + if (mosquitto_property_read_string(props, RESPONSE_TOPIC, + &response_info_ptr, false) == NULL) + { +- USP_LOG_Warning("%s: No response topic in received MESSAGE frame", __FUNCTION__); ++ USP_LOG_Info("%s: No response topic in received MESSAGE frame", __FUNCTION__); + } + + // Send the message to the data model thread for further processing