Skip to content

Commit aafb389

Browse files
authored
Fix logging in UCP. (#198)
1 parent b1437cb commit aafb389

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v5.1.1
2+
* (Minor) Move UnleashClient logging to the `UnleashClient` logger.
3+
* (Bugfix) Fix logging for UnleashClient.
4+
15
## v5.1.0
26
* (Major) Support new constraint operators.
37
* (Major) Add cache abstraction. Thanks @walison17!

UnleashClient/utils.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
import mmh3 # pylint: disable=import-error
44
from requests import Response
55

6-
LOGGER = logging.getLogger(__name__)
7-
LOGGER.setLevel("CRITICAL")
8-
9-
APSCHEDULER_LOGGER = logging.getLogger("apscheduler.scheduler")
10-
APSCHEDULER_LOGGER.setLevel("CRITICAL")
6+
LOGGER = logging.getLogger('UnleashClient')
117

128
def normalized_hash(identifier: str,
139
activation_group: str,

0 commit comments

Comments
 (0)