mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-27 18:14:54 +00:00
fix: change log levels to debug (#4411)
This commit is contained in:
parent
11f809abd2
commit
2d10d9905b
@ -55,7 +55,7 @@ class Telemetry:
|
|||||||
"""
|
"""
|
||||||
Update the config file with the current client ID and enabled status.
|
Update the config file with the current client ID and enabled status.
|
||||||
"""
|
"""
|
||||||
logger.info("Updating telemetry config")
|
logger.debug("Updating telemetry config")
|
||||||
|
|
||||||
if not DATAHUB_FOLDER.exists():
|
if not DATAHUB_FOLDER.exists():
|
||||||
os.makedirs(DATAHUB_FOLDER)
|
os.makedirs(DATAHUB_FOLDER)
|
||||||
@ -122,7 +122,7 @@ class Telemetry:
|
|||||||
if not self.enabled or self.mp is None or self.tracking_init is True:
|
if not self.enabled or self.mp is None or self.tracking_init is True:
|
||||||
return
|
return
|
||||||
|
|
||||||
logger.info("Sending init Telemetry")
|
logger.debug("Sending init Telemetry")
|
||||||
try:
|
try:
|
||||||
self.mp.people_set(
|
self.mp.people_set(
|
||||||
self.client_id,
|
self.client_id,
|
||||||
@ -156,7 +156,7 @@ class Telemetry:
|
|||||||
|
|
||||||
# send event
|
# send event
|
||||||
try:
|
try:
|
||||||
logger.info("Sending Telemetry")
|
logger.debug("Sending Telemetry")
|
||||||
self.mp.track(self.client_id, action, properties)
|
self.mp.track(self.client_id, action, properties)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user