aboutsummaryrefslogtreecommitdiff
path: root/zenstore/filecas.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-04-21 15:47:00 +0200
committerGitHub <[email protected]>2023-04-21 15:47:00 +0200
commit3a774c0e15d86102a540d51c34cb35f9689df6a8 (patch)
treef5b999068c20f3a9cb8c2e92e7dc55f3c2021ce4 /zenstore/filecas.cpp
parentswitch to juliangruber/read-file-action to avoid deprecated api usage (#252) (diff)
downloadzen-3a774c0e15d86102a540d51c34cb35f9689df6a8.tar.xz
zen-3a774c0e15d86102a540d51c34cb35f9689df6a8.zip
save cache rawsize and rawhash in manifest file instead of log file (#251)
* save cache rawsize and rawhash in manifest file instead of log file * don't use # as prefix for counts in log
Diffstat (limited to 'zenstore/filecas.cpp')
-rw-r--r--zenstore/filecas.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp
index 986cc9ae6..1d25920c4 100644
--- a/zenstore/filecas.cpp
+++ b/zenstore/filecas.cpp
@@ -1026,7 +1026,7 @@ FileCasStrategy::MakeIndexSnapshot()
uint64_t EntryCount = 0;
Stopwatch Timer;
const auto _ = MakeGuard([&] {
- ZEN_INFO("wrote store snapshot for '{}' containing #{} entries in {}",
+ ZEN_INFO("wrote store snapshot for '{}' containing {} entries in {}",
m_RootDirectory,
EntryCount,
NiceTimeSpanMs(Timer.GetElapsedTimeMs()));
@@ -1105,7 +1105,7 @@ FileCasStrategy::ReadIndexFile()
{
Stopwatch Timer;
const auto _ = MakeGuard([&] {
- ZEN_INFO("read store '{}' index containing #{} entries in {}",
+ ZEN_INFO("read store '{}' index containing {} entries in {}",
IndexPath,
Entries.size(),
NiceTimeSpanMs(Timer.GetElapsedTimeMs()));
@@ -1193,7 +1193,7 @@ FileCasStrategy::ReadLog(uint64_t SkipEntryCount)
uint64_t LogEntryCount = 0;
Stopwatch Timer;
const auto _ = MakeGuard([&] {
- ZEN_INFO("read store '{}' log containing #{} entries in {}", LogPath, LogEntryCount, NiceTimeSpanMs(Timer.GetElapsedTimeMs()));
+ ZEN_INFO("read store '{}' log containing {} entries in {}", LogPath, LogEntryCount, NiceTimeSpanMs(Timer.GetElapsedTimeMs()));
});
TCasLogFile<FileCasIndexEntry> CasLog;
CasLog.Open(LogPath, CasLogFile::Mode::kRead);
@@ -1227,7 +1227,7 @@ FileCasStrategy::ReadLog(uint64_t SkipEntryCount)
SkipEntryCount);
if (InvalidEntryCount)
{
- ZEN_WARN("found #{} invalid entries in '{}'", InvalidEntryCount, LogPath);
+ ZEN_WARN("found {} invalid entries in '{}'", InvalidEntryCount, LogPath);
}
return LogEntryCount;
}