From 201e216a15233a6c51b42fb5788b4e7731d4e719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=81?= <42404015+15089677014@users.noreply.github.com> Date: Mon, 24 Mar 2025 15:37:58 +0800 Subject: [PATCH] fix(log): Modify AWEL init log param (#2510) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 刘家星 --- packages/dbgpt-core/src/dbgpt/core/awel/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dbgpt-core/src/dbgpt/core/awel/__init__.py b/packages/dbgpt-core/src/dbgpt/core/awel/__init__.py index 04dd43855..d4238335f 100644 --- a/packages/dbgpt-core/src/dbgpt/core/awel/__init__.py +++ b/packages/dbgpt-core/src/dbgpt/core/awel/__init__.py @@ -159,7 +159,7 @@ def setup_dev_environment( if not logger_filename: logger_filename = "dbgpt_awel_dev.log" - setup_logging("dbgpt", logging_level=logging_level, logger_filename=logger_filename) + setup_logging("dbgpt", default_logger_level=logging_level, default_logger_filename=logger_filename) start_http = _check_has_http_trigger(dags) if start_http: