This commit is contained in:
jxxghp
2023-06-08 07:46:31 +08:00
parent 726c06a963
commit 856f931307
4 changed files with 16 additions and 10 deletions

View File

@ -12,7 +12,7 @@ console_handler = logging.StreamHandler()
console_handler.setLevel(logging.DEBUG)
# 创建文件输出Handler
file_handler = RotatingFileHandler(filename=settings.LOG_PATH / 'nasbot.log',
file_handler = RotatingFileHandler(filename=settings.LOG_PATH / 'moviepilot.log',
mode='w',
maxBytes=5 * 1024 * 1024,
backupCount=3,