From 914ca2ae8441d986fe7151e66d52b1521b4159c1 Mon Sep 17 00:00:00 2001 From: Rodrigo Pastrana Date: Fri, 28 Jun 2024 17:59:51 -0400 Subject: [PATCH] HPCC-32052 Improve WsStore fech miss message - Changes log message to clarify simple fetch miss - Bumps up logging level to debug Signed-off-by: Rodrigo Pastrana --- esp/services/ws_store/espstorelib/daliKVStore.cpp | 2 +- esp/services/ws_store/ws_storeService.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esp/services/ws_store/espstorelib/daliKVStore.cpp b/esp/services/ws_store/espstorelib/daliKVStore.cpp index b3f1a40419d..8039a8fb022 100644 --- a/esp/services/ws_store/espstorelib/daliKVStore.cpp +++ b/esp/services/ws_store/espstorelib/daliKVStore.cpp @@ -402,7 +402,7 @@ bool CDALIKVStore::fetch(const char * storename, const char * ns, const char * k xpath.appendf("/%s", key); if(!storetree->hasProp(xpath.str())) { - throw makeStringExceptionV(ECLWATCH_INVALID_QUERY_KEY, "DALI Keystore fetch: invalid key '%s' detected!", key); + throw makeStringExceptionV(ECLWATCH_INVALID_QUERY_KEY, "DALI Keystore fetch: Could not find key '%s'!", key); } else { diff --git a/esp/services/ws_store/ws_storeService.cpp b/esp/services/ws_store/ws_storeService.cpp index 75ddde7d6e5..128c4667d0c 100644 --- a/esp/services/ws_store/ws_storeService.cpp +++ b/esp/services/ws_store/ws_storeService.cpp @@ -322,7 +322,7 @@ bool CwsstoreEx::onFetch(IEspContext &context, IEspFetchRequest &req, IEspFetchR if (e->errorCode() == ECLWATCH_INVALID_QUERY_KEY) { StringBuffer msg; - LOG(MCuserInfo, "WsStore: %s", e->errorMessage(msg).str()); + DBGLOG("WsStore: Fetch failed: %s", e->errorMessage(msg).str()); e->Release(); return false; }