Added back logging as traces for level_2_chunks

This commit is contained in:
AdenKoperczak 2025-05-07 17:33:44 -04:00
parent 4906800a22
commit 969267b661
No known key found for this signature in database
GPG key ID: 9843017036F62EE7
4 changed files with 21 additions and 26 deletions

View file

@ -341,7 +341,7 @@ AwsLevel2ChunksDataProvider::Impl::ListObjects()
{
return {true, newObjects, totalObjects};
}
logger_->debug("ListObjects");
logger_->trace("ListObjects");
lastTimeListed_ = now;
const std::string prefix = radarSite_ + "/";
@ -356,7 +356,7 @@ AwsLevel2ChunksDataProvider::Impl::ListObjects()
if (outcome.IsSuccess())
{
auto& scans = outcome.GetResult().GetCommonPrefixes();
// logger_->debug("Found {} scans", scans.size());
logger_->trace("Found {} scans", scans.size());
if (scans.size() > 0)
{
@ -513,7 +513,7 @@ bool AwsLevel2ChunksDataProvider::Impl::LoadScan(Impl::ScanRecord& scanRecord)
bool hasNew = false;
auto& chunks = listOutcome.GetResult().GetContents();
// logger_->debug("Found {} new chunks.", chunks.size());
logger_->trace("Found {} new chunks.", chunks.size());
for (const auto& chunk : chunks)
{
const std::string& key = chunk.GetKey();
@ -726,7 +726,7 @@ std::pair<size_t, size_t> AwsLevel2ChunksDataProvider::Refresh()
timer.stop();
// NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers) format to 6 digits
// logger_->debug("Refresh() in {}", timer.format(6, "%ws"));
logger_->debug("Refresh() in {}", timer.format(6, "%ws"));
return std::make_pair(newObjects, totalObjects);
}