feat: 添加任务管理模块

This commit is contained in:
Junyan Qin
2024-10-22 18:09:18 +08:00
parent 26770439bb
commit c151665419
10 changed files with 121 additions and 36 deletions

View File

@@ -27,8 +27,8 @@ async def init_logging(extra_handlers: list[logging.Handler] = None) -> logging.
if constants.debug_mode:
level = logging.DEBUG
log_file_name = "data/logs/qcg-%s.log" % time.strftime(
"%Y-%m-%d-%H-%M-%S", time.localtime()
log_file_name = "data/logs/langbot-%s.log" % time.strftime(
"%Y-%m-%d", time.localtime()
)
qcg_logger = logging.getLogger("qcg")