|
@@ -19,6 +19,8 @@ class BaseConfig(object):
|
|
|
SQLALCHEMY_DATABASE_URI = f"{DIALCT}+{DRITVER}://{USERNAME}:{PASSWORD}@{HOST}:{PORT}/{DBNAME}?charset=utf8"
|
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False # Disable track modifications
|
|
|
SQLALCHEMY_ECHO = False # Optional: Log SQL queries
|
|
|
+
|
|
|
+
|
|
|
dictConfig({
|
|
|
"version": 1,
|
|
|
"disable_existing_loggers": False, # 不覆盖默认配置
|