From 315855587800b136d894771f41b72c60cc37bd32 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期二, 26 十一月 2024 18:11:48 +0800 Subject: [PATCH] 接口修改/redis队列溢出保护/减少不必要的日志输出 --- l2/l2_log.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/l2/l2_log.py b/l2/l2_log.py index c3a94f9..71df443 100644 --- a/l2/l2_log.py +++ b/l2/l2_log.py @@ -47,8 +47,9 @@ try: self.distribute_log_manager(c) except Exception as e: - logging.exception(e) - logger_debug.error(f"L2鏃ュ織鍒嗛厤鍑洪敊锛氭柊浠g爜鎬绘暟{len(codes)}") + pass + # logging.exception(e) + # logger_debug.error(f"L2鏃ュ織鍒嗛厤鍑洪敊锛氭柊浠g爜鎬绘暟{len(codes)}") def get_log_manager(self, code): if code in self.distributed_log_dict: -- Gitblit v1.8.0