Skip to content

Commit eda5b5a

Browse files
Lower the log level for some messages (#1599)
The messages are just information about the action and not the outcome Relates-To: DATASDK-70 Signed-off-by: Andrey Kashcheev <ext-andrey.kashcheev@here.com>
1 parent 235fd06 commit eda5b5a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2019-2024 HERE Europe B.V.
2+
* Copyright (C) 2019-2025 HERE Europe B.V.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -108,7 +108,7 @@ boost::optional<model::VersionResponse> CatalogCacheRepository::GetVersion() {
108108
bool CatalogCacheRepository::Clear() {
109109
const std::string hrn(hrn_.ToCatalogHRNString());
110110
const auto key = cache::KeyGenerator::CreateCatalogKey(hrn);
111-
OLP_SDK_LOG_INFO_F(kLogTag, "Clear -> '%s'", key.c_str());
111+
OLP_SDK_LOG_TRACE_F(kLogTag, "Clear -> '%s'", key.c_str());
112112

113113
return cache_->RemoveKeysWithPrefix(hrn);
114114
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2019-2024 HERE Europe B.V.
2+
* Copyright (C) 2019-2025 HERE Europe B.V.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -234,14 +234,14 @@ bool PartitionsCacheRepository::Get(geo::TileKey tile_key, int32_t depth,
234234

235235
bool PartitionsCacheRepository::Clear() {
236236
auto key = catalog_ + "::" + layer_id_ + "::";
237-
OLP_SDK_LOG_INFO_F(kLogTag, "Clear -> '%s'", key.c_str());
237+
OLP_SDK_LOG_TRACE_F(kLogTag, "Clear -> '%s'", key.c_str());
238238
return cache_->RemoveKeysWithPrefix(key);
239239
}
240240

241241
bool PartitionsCacheRepository::ClearPartitions(
242242
const std::vector<std::string>& partition_ids,
243243
const boost::optional<int64_t>& version) {
244-
OLP_SDK_LOG_INFO_F(kLogTag, "ClearPartitions -> '%s'", catalog_.c_str());
244+
OLP_SDK_LOG_TRACE_F(kLogTag, "ClearPartitions -> '%s'", catalog_.c_str());
245245
auto cached_partitions = Get(partition_ids, version);
246246
bool passed = true;
247247

@@ -274,7 +274,7 @@ client::ApiNoResponse PartitionsCacheRepository::ClearPartitionMetadata(
274274
boost::optional<model::Partition>& out_partition) {
275275
const auto key = cache::KeyGenerator::CreatePartitionKey(
276276
catalog_, layer_id_, partition_id, catalog_version);
277-
OLP_SDK_LOG_INFO_F(kLogTag, "ClearPartitionMetadata -> '%s'", key.c_str());
277+
OLP_SDK_LOG_TRACE_F(kLogTag, "ClearPartitionMetadata -> '%s'", key.c_str());
278278

279279
auto read_response = cache_->Read(key);
280280
if (!read_response) {

0 commit comments

Comments
 (0)