Skip to content

Commit 514513d

Browse files
authored
#188067891 Refactor: Set the apscheduler log level to warn (#22)
Refactor: Set the apscheduler log level to warn & avoid printing unnecessary logs Bump version to 1.4.9
1 parent c3aa88b commit 514513d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

moesifapi/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Configuration(object):
1212

1313
# Your Application Id for authentication/authorization
1414
application_id = 'SET_ME'
15-
version = 'moesifapi-python/1.4.8'
15+
version = 'moesifapi-python/1.4.9'
1616

1717
pool_connections = 10
1818
pool_maxsize = 10

moesifapi/workers.py

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ def schedule_background_job(self):
132132
replace_existing=True)
133133

134134
# Avoid passing logging message to the ancestor loggers
135+
logging.getLogger('apscheduler').setLevel(logging.WARNING)
135136
logging.getLogger('apscheduler.executors.default').setLevel(logging.WARNING)
136137
logging.getLogger('apscheduler.executors.default').propagate = False
137138

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# Versions should comply with PEP440. For a discussion on single-sourcing
2929
# the version across setup.py and the project code, see
3030
# https://packaging.python.org/en/latest/single_source_version.html
31-
version='1.4.8',
31+
version='1.4.9',
3232

3333
description='Moesif API Lib for Python',
3434
long_description=long_description,

0 commit comments

Comments
 (0)