diff options
| author | Dan Engelbrecht <[email protected]> | 2024-09-04 09:27:32 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-09-04 09:27:32 +0200 |
| commit | 1e52c3e1f479a802d151a4d162bb0b9174d22cf7 (patch) | |
| tree | 96427532f0df1e735fc5ced8087fb4996d021be5 /src/zenstore/gc.cpp | |
| parent | delay oplog read (#141) (diff) | |
| download | zen-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.cpp | 2 |
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; { |