set scheduler log level from env var
This commit is contained in:
parent
3ca3302bff
commit
d6906ea14f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ logger_api = logging.getLogger('waitress')
|
||||||
logger_api.setLevel(os.environ.get('SCHEDULER_LOG_LEVEL', 'INFO').upper())
|
logger_api.setLevel(os.environ.get('SCHEDULER_LOG_LEVEL', 'INFO').upper())
|
||||||
|
|
||||||
logger_job = logging.getLogger('apscheduler')
|
logger_job = logging.getLogger('apscheduler')
|
||||||
logger_job.setLevel(logging.DEBUG)
|
logger_job.setLevel(os.environ.get('SCHEDULER_LOG_LEVEL', 'INFO').upper())
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
CORE_SYNC_PERIOD = 30
|
CORE_SYNC_PERIOD = 30
|
||||||
|
|
Loading…
Reference in a new issue