Disable logging for level 2 chunks

This commit is contained in:
AdenKoperczak 2025-04-26 18:51:11 -04:00
parent 781aa40e8c
commit 3d7da7d971
No known key found for this signature in database
GPG key ID: 9843017036F62EE7
2 changed files with 9 additions and 7 deletions

View file

@ -356,7 +356,7 @@ AwsLevel2ChunksDataProvider::Impl::ListObjects()
if (outcome.IsSuccess())
{
auto& scans = outcome.GetResult().GetCommonPrefixes();
logger_->debug("Found {} scans", scans.size());
// logger_->debug("Found {} scans", scans.size());
if (scans.size() > 0)
{
@ -514,7 +514,7 @@ bool AwsLevel2ChunksDataProvider::Impl::LoadScan(Impl::ScanRecord& scanRecord)
bool hasNew = false;
auto& chunks = listOutcome.GetResult().GetContents();
logger_->debug("Found {} new chunks.", chunks.size());
// logger_->debug("Found {} new chunks.", chunks.size());
for (const auto& chunk : chunks)
{
const std::string& key = chunk.GetKey();
@ -728,7 +728,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);
}