diff --git a/app/log.py b/app/log.py index 951da08..e795777 100644 --- a/app/log.py +++ b/app/log.py @@ -18,11 +18,11 @@ logging.config.dictConfig({ #'filename': 'example.log', # 'level': logging.ERROR, 'handlers': { - 'console': { - 'class': 'logging.StreamHandler', - 'stream': 'ext://sys.stderr', - 'formatter': 'short', - }, + # 'console': { + # 'class': 'logging.StreamHandler', + # 'stream': 'ext://sys.stderr', + # 'formatter': 'short', + # }, 'log_file_all': { 'level': 'NOTSET', 'class': 'logging.handlers.RotatingFileHandler', @@ -55,7 +55,7 @@ logging.config.dictConfig({ }, 'loggers': { # 'uvicorn': {'handlers': ['default'], 'level': 'INFO'}, - 'uvicorn': {'handlers': ['console'], 'level': 'INFO'}, + # 'uvicorn': {'handlers': ['console'], 'level': 'INFO'}, # 'uvicorn.error': {'level': 'INFO', 'handlers': ['default'], 'propagate': True}, # 'uvicorn.error': {'level': 'INFO', 'handlers': ['console'], 'propagate': True}, # 'uvicorn.access': {'handlers': ['access'], 'level': 'INFO', 'propagate': False}, diff --git a/app/main.py b/app/main.py index 9057370..97dcaf3 100644 --- a/app/main.py +++ b/app/main.py @@ -23,7 +23,7 @@ from app.routers import aether_cfg, api_crud, api, importing, sql, account, acti from app.db_sql import sql_select # , sql_connect -print('### **** *** ** * The Aether FastAPI API is loading... * ** *** **** ###') +print('### **** *** ** * The Aether API v5 using FastAPI is loading... * ** *** **** ###') #log = logging.getLogger('root') @@ -36,8 +36,8 @@ print('### **** *** ** * The Aether FastAPI API is loading... * ** *** **** ###' app = FastAPI( # debug = True, title = 'Aether API', - description = 'One Sky IT\'s Aether API using FastAPI.', - version = '5.8.0', + description = 'One Sky IT\'s Aether API v5 using FastAPI.', + version = '4.9.0', operationsSorter = 'method', )