新增日志存储逻辑

Co-Authored-By: ouzhuowei <190020754@qq.com>
This commit is contained in:
ouzhuowei
2026-02-06 12:33:35 +08:00
parent 80e9c866a0
commit 30cf16af0c
3 changed files with 92 additions and 2 deletions

View File

@@ -120,6 +120,14 @@ FONT_PATH = "./docs/STZHONGS.TTF"
# 爬取间隔时间
CRAWLER_MAX_SLEEP_SEC = 2
# 日志配置
# 是否保存日志
LOG_SAVE_ENABLE = False
# 日志保存路径
LOG_SAVE_PATH = "./logs"
# 日志保存级别
LOG_SAVE_LEVEL = "INFO"
from .bilibili_config import *
from .xhs_config import *
from .dy_config import *