From 9f5b2b6391b13f396f057d70db4e9b9e9765e543 Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Tue, 10 May 2022 08:55:32 +0700 Subject: [PATCH] don't log inside library about db close #442 --- kv/mdbx/kv_mdbx.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/kv/mdbx/kv_mdbx.go b/kv/mdbx/kv_mdbx.go index ecca12e2c..22739699b 100644 --- a/kv/mdbx/kv_mdbx.go +++ b/kv/mdbx/kv_mdbx.go @@ -376,8 +376,6 @@ func (db *MdbxKV) Close() { if err := os.RemoveAll(db.opts.path); err != nil { db.log.Warn("failed to remove in-mem db file", "err", err) } - } else { - log.Info("database closed", "label", db.opts.label) } }