From 09c7898cb26d68c08f0f99d90599808a6e80fb5f Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 25 Mar 2023 16:27:22 -0700 Subject: [PATCH] Common: Reduce logging of system requests. --- Common/System/Request.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Common/System/Request.cpp b/Common/System/Request.cpp index ce1af31a2f..2173eecd59 100644 --- a/Common/System/Request.cpp +++ b/Common/System/Request.cpp @@ -24,7 +24,7 @@ bool RequestManager::MakeSystemRequest(SystemRequestType type, RequestCallback c callbackMap_[requestId] = { callback, failedCallback }; } - INFO_LOG(SYSTEM, "Making system request %s: id %d", RequestTypeAsString(type), requestId); + DEBUG_LOG(SYSTEM, "Making system request %s: id %d", RequestTypeAsString(type), requestId); if (!System_MakeRequest(type, requestId, param1, param2, param3)) { if (callback || failedCallback) { std::lock_guard guard(callbackMutex_); @@ -50,7 +50,7 @@ void RequestManager::PostSystemSuccess(int requestId, const char *responseString response.responseString = responseString; response.responseValue = responseValue; pendingSuccesses_.push_back(response); - INFO_LOG(SYSTEM, "PostSystemSuccess: Request %d (%s, %d)", requestId, responseString, responseValue); + DEBUG_LOG(SYSTEM, "PostSystemSuccess: Request %d (%s, %d)", requestId, responseString, responseValue); callbackMap_.erase(iter); } @@ -62,7 +62,7 @@ void RequestManager::PostSystemFailure(int requestId) { return; } - INFO_LOG(SYSTEM, "PostSystemFailure: Request %d failed", requestId); + WARN_LOG(SYSTEM, "PostSystemFailure: Request %d failed", requestId); std::lock_guard responseGuard(responseMutex_); PendingFailure response;