Merge pull request #388 from magicyuan876/main

修改日志文件路径
This commit is contained in:
zrguo 2024-12-04 11:03:12 +08:00 committed by GitHub
commit 7a76ba231c

View file

@ -133,7 +133,7 @@ class LightRAG:
convert_response_to_json_func: callable = convert_response_to_json
def __post_init__(self):
log_file = os.path.join(self.working_dir, "lightrag.log")
log_file = os.path.join("lightrag.log")
set_logger(log_file)
logger.setLevel(self.log_level)