fix: change log levels to debug (#4411)

This commit is contained in:
Aseem Bansal 2022-03-16 08:02:03 +05:30 committed by GitHub
parent 11f809abd2
commit 2d10d9905b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: