diff --git a/pydbapi/__init__.py b/pydbapi/__init__.py index c89ec5b..dd70358 100644 --- a/pydbapi/__init__.py +++ b/pydbapi/__init__.py @@ -2,12 +2,12 @@ # @Author: chunyang.xu # @Date: 2023-06-02 15:27:41 # @Last Modified by: chunyang.xu -# @Last Modified time: 2023-07-26 18:06:21 +# @Last Modified time: 2023-07-26 18:20:31 # @github: https://github.com/longfengpili import os import logging.config -from pydbapi.conf.settings import LOGGING_CONFIG +from pydbapi.conf.logconf import LOGGING_CONFIG logging.config.dictConfig(LOGGING_CONFIG) os.environ['NUMEXPR_MAX_THREADS'] = '16' diff --git a/tests/base/db_test.py b/tests/base/db_test.py index 07c6a24..adedc15 100644 --- a/tests/base/db_test.py +++ b/tests/base/db_test.py @@ -2,13 +2,13 @@ # @Author: chunyang.xu # @Date: 2023-06-02 15:27:41 # @Last Modified by: chunyang.xu -# @Last Modified time: 2023-07-26 18:06:48 +# @Last Modified time: 2023-07-26 18:22:19 # @github: https://github.com/longfengpili import pytest from pydbapi.sql import SqlParse -from pydbapi.conf.settings import LOGGING_CONFIG +from pydbapi.conf.logconf import LOGGING_CONFIG import logging.config logging.config.dictConfig(LOGGING_CONFIG)