Merge pull request #36 from ledgerwatch/add_label_to_close_db_log

close db label log
This commit is contained in:
Alex Sharov 2021-08-18 15:06:52 +07:00 committed by GitHub
commit 613ec56858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,7 +329,7 @@ func (db *MdbxKV) Close() {
db.log.Warn("failed to remove in-mem db file", "err", err)
}
} else {
db.log.Info("database closed (MDBX)")
db.log.Info("database closed", "label", db.opts.label)
}
}