diff --git a/adsws/accounts/config.py b/adsws/accounts/config.py index 31ada34..9fe464c 100644 --- a/adsws/accounts/config.py +++ b/adsws/accounts/config.py @@ -1,3 +1,6 @@ +LOG_LEVEL = 30 # To be deprecated when all microservices use ADSFlask +LOGGING_LEVEL = "INFO" +LOG_STDOUT = True BOOTSTRAP_USER_EMAIL = 'anonymous@ads' BOOTSTRAP_TOKEN_EXPIRES = 3600*24 # 1 day BOOTSTRAP_SCOPES = [] diff --git a/adsws/api/config.py b/adsws/api/config.py index fa62f5c..bb3dddd 100644 --- a/adsws/api/config.py +++ b/adsws/api/config.py @@ -1,3 +1,6 @@ +LOG_LEVEL = 30 # To be deprecated when all microservices use ADSFlask +LOGGING_LEVEL = "INFO" +LOG_STDOUT = True DEFAULT_REQUEST_TIMEOUT = 60 # seconds SECURITY_REGISTER_BLUEPRINT = False EXTENSIONS = ['adsws.ext.menu', diff --git a/adsws/benchmark/config.py b/adsws/benchmark/config.py index 6923736..55ae491 100644 --- a/adsws/benchmark/config.py +++ b/adsws/benchmark/config.py @@ -1,3 +1,6 @@ +LOG_LEVEL = 30 # To be deprecated when all microservices use ADSFlask +LOGGING_LEVEL = "INFO" +LOG_STDOUT = True SECURITY_REGISTER_BLUEPRINT = False EXTENSIONS = ['adsws.ext.menu', 'adsws.ext.sqlalchemy', diff --git a/adsws/feedback/config.py b/adsws/feedback/config.py index 6f24bb5..3d18912 100644 --- a/adsws/feedback/config.py +++ b/adsws/feedback/config.py @@ -2,6 +2,9 @@ Configuration file. Please prefix application specific config values with the application name. """ +LOG_LEVEL = 30 # To be deprecated when all microservices use ADSFlask +LOGGING_LEVEL = "INFO" +LOG_STDOUT = True EXTENSIONS = [ 'adsws.ext.ratelimiter', 'adsws.ext.mail' diff --git a/adsws/frontend/config.py b/adsws/frontend/config.py index 5879dee..29c5cb9 100644 --- a/adsws/frontend/config.py +++ b/adsws/frontend/config.py @@ -1,3 +1,6 @@ +LOG_LEVEL = 30 # To be deprecated when all microservices use ADSFlask +LOGGING_LEVEL = "INFO" +LOG_STDOUT = True EXTENSIONS = [ 'adsws.ext.sqlalchemy', 'adsws.ext.security', diff --git a/adsws/modules/oauth2server/config.py b/adsws/modules/oauth2server/config.py index a9f9171..2cf0d0b 100644 --- a/adsws/modules/oauth2server/config.py +++ b/adsws/modules/oauth2server/config.py @@ -1,5 +1,9 @@ # -*- coding: utf-8 -*- +LOG_LEVEL = 30 # To be deprecated when all microservices use ADSFlask +LOGGING_LEVEL = "INFO" +LOG_STDOUT = True + OAUTH2_CACHE_TYPE = 'redis' """ Type of cache to use for storing the temporary grant token """ diff --git a/requirements.txt b/requirements.txt index 669955e..f1bce9e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -git+https://github.com/adsabs/ADSMicroserviceUtils.git@v1.0.4 +git+https://github.com/adsabs/ADSMicroserviceUtils.git@v1.0.6 flask-headers==1.0 git+https://github.com/adsabs/flask-limiter.git@fb1bbd3e4894c4298798601121dbf9782a6bafe8#egg=flask-limiter flask-cors==1.9.0