aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/gc.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-09-04 09:27:32 +0200
committerGitHub Enterprise <[email protected]>2024-09-04 09:27:32 +0200
commit1e52c3e1f479a802d151a4d162bb0b9174d22cf7 (patch)
tree96427532f0df1e735fc5ced8087fb4996d021be5 /src/zenstore/gc.cpp
parentdelay oplog read (#141) (diff)
downloadzen-1e52c3e1f479a802d151a4d162bb0b9174d22cf7.tar.xz
zen-1e52c3e1f479a802d151a4d162bb0b9174d22cf7.zip
move gc logs to gc logger (#142)
- Improvement: Move GC logging in callback functions into "gc" context
Diffstat (limited to 'src/zenstore/gc.cpp')
-rw-r--r--src/zenstore/gc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenstore/gc.cpp b/src/zenstore/gc.cpp
index d6bf99c3e..28bdd2f42 100644
--- a/src/zenstore/gc.cpp
+++ b/src/zenstore/gc.cpp
@@ -619,7 +619,7 @@ GcManager::CollectGarbage(const GcSettings& Settings)
{
ZEN_TRACE_CPU("GcV2::CollectGarbage");
- GcCtx Ctx{.Settings = Settings, .IsCancelledFlag = m_CancelGC};
+ GcCtx Ctx{.Settings = Settings, .IsCancelledFlag = m_CancelGC, .Logger = Log()};
GcResult Result;
{