Skip to content

Commit f31d032

Browse files
Reduce the logging level in PartitionsRepository (#1381)
Log appears too often when the DEBUG level is disabled. Relates-To: OAM-1945 Signed-off-by: Mykhailo Kuchma <[email protected]>
1 parent 525a0ae commit f31d032

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

olp-cpp-sdk-dataservice-read/src/repositories/PartitionsRepository.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ PartitionsRepository::GetPartitionsExtendedResponse(
259259
catalog_str.c_str(), key.c_str());
260260
return cached_partitions.get();
261261
} else if (fetch_option == CacheOnly) {
262-
OLP_SDK_LOG_INFO_F(kLogTag,
263-
"GetPartitions not found in cache, hrn='%s', key='%s'",
264-
catalog_str.c_str(), key.c_str());
262+
OLP_SDK_LOG_DEBUG_F(
263+
kLogTag, "GetPartitions not found in cache, hrn='%s', key='%s'",
264+
catalog_str.c_str(), key.c_str());
265265
return client::ApiError::NotFound(
266266
"CacheOnly: resource not found in cache");
267267
}

0 commit comments

Comments
 (0)