mirror of
https://github.com/aljazceru/python-teos.git
synced 2026-02-15 03:24:20 +01:00
Updates logger codebase-wise to match the Logger updates
Logger instances now specify the logger prefix so the logger can be properly loaded, fixing the issues with the cli file logger
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import json
|
||||
import plyvel
|
||||
|
||||
from pisa import LOG_PREFIX
|
||||
|
||||
from common.logger import Logger
|
||||
|
||||
logger = Logger("DBManager")
|
||||
logger = Logger(actor="DBManager", log_name_prefix=LOG_PREFIX)
|
||||
|
||||
WATCHER_PREFIX = "w"
|
||||
WATCHER_LAST_BLOCK_KEY = "bw"
|
||||
|
||||
Reference in New Issue
Block a user