Commit 3da8ba19 authored by Adrian Pino's avatar Adrian Pino
Browse files

Update aeros init file. Add TODO to fix unnecessary logging.

parent e4102f82
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -14,8 +14,10 @@ from src.logger import setup_logger

logger = setup_logger(__name__, is_debug=True, file_name=config.LOG_FILE)

logger.info("aerOS client initialized")
logger.debug("aerOS API URL: %s", config.aerOS_API_URL)
logger.debug("aerOS access token: %s", config.aerOS_ACCESS_TOKEN)
logger.debug("aerOS debug mode: %s", config.DEBUG)
logger.debug("aerOS log file: %s", config.LOG_FILE)
# TODO: The following should only appear in case aerOS client is used
#       Currently even if another client is used, the logs appear
# logger.info("aerOS client initialized")
# logger.debug("aerOS API URL: %s", config.aerOS_API_URL)
# logger.debug("aerOS access token: %s", config.aerOS_ACCESS_TOKEN)
# logger.debug("aerOS debug mode: %s", config.DEBUG)
# logger.debug("aerOS log file: %s", config.LOG_FILE)