feat:可配置log,解决可读性问题

This commit is contained in:
SengokuCola
2025-06-12 20:13:47 +08:00
parent 87663d45f2
commit 745d762dbb
8 changed files with 1046 additions and 55 deletions

17
reload_config_now.py Normal file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env python3
"""
立即重新加载日志配置
"""
import sys
from pathlib import Path
# 添加src目录到路径
src_path = Path(__file__).parent / "src"
sys.path.insert(0, str(src_path))
from common.logger import reload_log_config
print("🔄 重新加载日志配置...")
reload_log_config()
print("✅ 配置已重新加载faiss日志已被屏蔽。")