Skip to content

Commit 4c0a194

Browse files
Decrease log level for some messages (#1350)
Not found messages for partition and quad tree index are quite noisy and besides of that affect performance in certain scenarios. Decrease them to DEBUG level as they do not bring much on current level Relates-To: OAM-1686 Signed-off-by: Andrey Kashcheev <[email protected]>
1 parent 845a814 commit 4c0a194

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ PartitionsResponse PartitionsRepository::GetPartitionById(
364364
catalog_.ToCatalogHRNString().c_str(), key.c_str());
365365
return cached_partitions;
366366
} else if (fetch_option == CacheOnly) {
367-
OLP_SDK_LOG_INFO_F(
367+
OLP_SDK_LOG_DEBUG_F(
368368
kLogTag, "GetPartitionById not found in cache, hrn='%s', key='%s'",
369369
catalog_.ToCatalogHRNString().c_str(), key.c_str());
370370
return client::ApiError::NotFound(
@@ -460,7 +460,7 @@ QuadTreeIndexResponse PartitionsRepository::GetQuadTreeIndexForTile(
460460
tile_key.ToHereTile().c_str(), kAggregateQuadTreeDepth);
461461
}
462462
} else if (fetch_option == CacheOnly) {
463-
OLP_SDK_LOG_INFO_F(
463+
OLP_SDK_LOG_DEBUG_F(
464464
kLogTag, "GetQuadTreeIndexForTile not found in cache, tile='%s'",
465465
tile_key.ToHereTile().c_str());
466466
return client::ApiError::NotFound(

0 commit comments

Comments
 (0)