aboutsummaryrefslogtreecommitdiff
path: root/zenstore/blockstore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenstore/blockstore.cpp')
-rw-r--r--zenstore/blockstore.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/zenstore/blockstore.cpp b/zenstore/blockstore.cpp
index 6f5578be8..3358075ec 100644
--- a/zenstore/blockstore.cpp
+++ b/zenstore/blockstore.cpp
@@ -170,7 +170,7 @@ BlockStore::Initialize(const std::filesystem::path& BlocksBasePath,
{
// Log removing unreferenced block
// Clear out unused blocks
- ZEN_INFO("removing unused block for '{}' at '{}'", m_BlocksBasePath, Path);
+ ZEN_INFO("removing unused block at '{}'", Path);
std::error_code Ec;
std::filesystem::remove(Path, Ec);
if (Ec)
@@ -449,7 +449,7 @@ BlockStore::ReclaimSpace(const ReclaimSnapshotState& Snapshot,
});
m_ChunkBlocks[BlockIndex] = nullptr;
}
- ZEN_DEBUG("marking cas store file in '{}' for delete , block #{}, '{}'", m_BlocksBasePath, BlockIndex, OldBlockFile->GetPath());
+ ZEN_DEBUG("marking cas store file '{}' for delete, block #{}", OldBlockFile->GetPath(), BlockIndex);
std::error_code Ec;
OldBlockFile->MarkAsDeleteOnClose(Ec);
if (Ec)
@@ -572,7 +572,7 @@ BlockStore::ReclaimSpace(const ReclaimSnapshotState& Snapshot,
});
m_ChunkBlocks[BlockIndex] = nullptr;
}
- ZEN_DEBUG("marking cas store file in '{}' for delete , block #{}, '{}'", m_BlocksBasePath, BlockIndex, OldBlockFile->GetPath());
+ ZEN_DEBUG("marking cas store file '{}' for delete, block #{}", OldBlockFile->GetPath(), BlockIndex);
std::error_code Ec;
OldBlockFile->MarkAsDeleteOnClose(Ec);
if (Ec)