diff --git a/adafruit_gc_iot_core.py b/adafruit_gc_iot_core.py index 917b6e8..891bd51 100644 --- a/adafruit_gc_iot_core.py +++ b/adafruit_gc_iot_core.py @@ -315,6 +315,7 @@ def __init__(self, esp=None, secrets=None, log=False): self.logger = None if log is True: self.logger = logging.getLogger("log") + self.logger.addHandler(logging.StreamHandler()) self.logger.setLevel(logging.DEBUG) # Configuration, from secrets file self._proj_id = secrets["project_id"] diff --git a/requirements.txt b/requirements.txt index 17a850d..20be16c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,5 @@ # SPDX-License-Identifier: Unlicense Adafruit-Blinka +adafruit-circuitpython-jwt +adafruit-circuitpython-logging>=4.0.1 diff --git a/setup.py b/setup.py index 941aa85..cbe5f6c 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,11 @@ # Author details author="Adafruit Industries", author_email="circuitpython@adafruit.com", - install_requires=["Adafruit-Blinka"], + install_requires=[ + "Adafruit-Blinka", + "adafruit-circuitpython-jwt", + "adafruit-circuitpython-logging>=4.0.1", + ], # Choose your license license="MIT", # See https://pypi.python.org/pypi?%3Aaction=list_classifiers