From 37b16dc5e5ac0b9423179808524f44045a6ac222 Mon Sep 17 00:00:00 2001 From: Cxx0822 <1556464090@qq.com> Date: Mon, 29 Sep 2025 14:20:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0fluentbit=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/logging.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/logging.py b/config/logging.py index 23e5043..7de8f4d 100644 --- a/config/logging.py +++ b/config/logging.py @@ -80,13 +80,13 @@ logger.add( diagnose=True, # 显示详细异常信息 ) -# logger.add( -# log_to_fluent, -# level="INFO", # 处理 INFO 及以上级别 -# format="{message}", # 原始消息(实际使用结构化数据) -# backtrace=True, # 启用堆栈回溯 -# diagnose=True # 显示诊断信息 -# ) +logger.add( + log_to_fluent, + level="INFO", # 处理 INFO 及以上级别 + format="{message}", # 原始消息(实际使用结构化数据) + backtrace=True, # 启用堆栈回溯 + diagnose=True # 显示诊断信息 +) # # 添加文件处理器 - 常规日志 # logger.add(