mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-08 00:27:44 +08:00
change to using txroutes
This commit is contained in:
@@ -36,7 +36,7 @@ class Data:
|
||||
|
||||
# Prevent the logger from adding handlers multiple times
|
||||
if not getattr(self.logger, 'handler_set', None):
|
||||
fileHandler = TimedRotatingFileHandler("{0}/{1}.log".format(self.config.server.logs, "db"), encoding="utf-8",
|
||||
fileHandler = TimedRotatingFileHandler("{0}/{1}.log".format(self.config.server.log_dir, "db"), encoding="utf-8",
|
||||
when="d", backupCount=10)
|
||||
fileHandler.setFormatter(log_fmt)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user