aboutsummaryrefslogtreecommitdiff
path: root/zenstore/compactcas.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-12-08 10:53:22 +0100
committerGitHub <[email protected]>2022-12-08 01:53:22 -0800
commite64451f535c71cdbf506352a7b20d3becd1bb557 (patch)
treeddaa78ecf41b72c4cf764c91bd08ce43bab0f170 /zenstore/compactcas.cpp
parent0.2.0-pre1 (diff)
downloadzen-e64451f535c71cdbf506352a7b20d3becd1bb557.tar.xz
zen-e64451f535c71cdbf506352a7b20d3becd1bb557.zip
Fix logging of number of read entries from log/index file for stores (#204)
* Fix logging of number of read entries from log/index file for stores * changelog
Diffstat (limited to 'zenstore/compactcas.cpp')
-rw-r--r--zenstore/compactcas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp
index 8679eb95e..1c692b609 100644
--- a/zenstore/compactcas.cpp
+++ b/zenstore/compactcas.cpp
@@ -502,7 +502,7 @@ CasContainerStrategy::CollectGarbage(GcContext& GcCtx)
void
CasContainerStrategy::MakeIndexSnapshot()
{
- ZEN_INFO("write store snapshot for '{}'", m_RootDirectory / m_ContainerBaseName);
+ ZEN_DEBUG("write store snapshot for '{}'", m_RootDirectory / m_ContainerBaseName);
uint64_t EntryCount = 0;
Stopwatch Timer;
const auto _ = MakeGuard([&] {
@@ -592,7 +592,7 @@ CasContainerStrategy::ReadIndexFile()
Stopwatch Timer;
const auto _ = MakeGuard([&] {
ZEN_INFO("read store '{}' index containing #{} entries in {}",
- m_RootDirectory / m_ContainerBaseName,
+ IndexPath,
Entries.size(),
NiceTimeSpanMs(Timer.GetElapsedTimeMs()));
});