diff --git a/.gitignore b/.gitignore index b04ee6c..9aa527d 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ temp # Claude 临时文件 .claude/ +.agents/ tmpclaude-* \ No newline at end of file diff --git a/log_utils.py b/log_utils.py index e3d84c9..edbde4d 100644 --- a/log_utils.py +++ b/log_utils.py @@ -49,7 +49,7 @@ class LoggerManager: _logger.addHandler(file_handler) # 控制台处理器(强制 UTF-8 避免 GBK 编码错误) - sys.stdout.reconfigure(encoding='utf-8', errors='replace') + #sys.stdout.reconfigure(encoding='utf-8', errors='replace') console_handler = logging.StreamHandler(sys.stdout) console_formatter = logging.Formatter(LOG_FORMAT, DATE_FORMAT) console_handler.setFormatter(console_formatter)