Skip to content

Commit e777879

Browse files
author
Andrei Popescu
authored
Lower log levels for high frequency logs. (#1117)
These two logs are triggered very often and produce a lot of output with no extra information gain for production releases. Moving it to debug level will lighten the output. Next step is to enhance overall logging to consider more error cases and leave the good results noise free. Resolves: OLPSUP-12666 Signed-off-by: Andrei Popescu <[email protected]>
1 parent a6b0259 commit e777879

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

olp-cpp-sdk-dataservice-read/src/VersionedLayerClientImpl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,8 @@ client::CancellationToken VersionedLayerClientImpl::PrefetchTiles(
358358
auto version = response.GetResult().GetVersion();
359359

360360
const auto key = request.CreateKey(layer_id);
361-
OLP_SDK_LOG_INFO_F(kLogTag, "PrefetchTiles: using key=%s", key.c_str());
361+
OLP_SDK_LOG_DEBUG_F(kLogTag, "PrefetchTiles: using key=%s",
362+
key.c_str());
362363

363364
// Calculate the minimal set of Tile keys and depth to
364365
// cover tree.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,9 @@ PrefetchTilesRepository::DownloadVersionedQuadTree(
378378

379379
auto tile_key = tile.ToHereTile();
380380

381-
OLP_SDK_LOG_INFO_F(kLogTag,
382-
"GetSubQuads execute(%s, %" PRId64 ", %" PRId32 ")",
383-
tile_key.c_str(), version, depth);
381+
OLP_SDK_LOG_DEBUG_F(kLogTag,
382+
"GetSubQuads execute(%s, %" PRId64 ", %" PRId32 ")",
383+
tile_key.c_str(), version, depth);
384384

385385
auto quad_tree = QueryApi::QuadTreeIndex(query_api.GetResult(), layer_id_,
386386
tile_key, version, depth,

0 commit comments

Comments
 (0)