mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:20:05 +00:00 
			
		
		
		
	Disable logging for level 2 chunks
This commit is contained in:
		
							parent
							
								
									781aa40e8c
								
							
						
					
					
						commit
						3d7da7d971
					
				
					 2 changed files with 9 additions and 7 deletions
				
			
		|  | @ -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); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak