from Firefly.api import FireflyCoreAPI
from Firefly.const import CONFIG_FILE
from Firefly.core import Firefly, app
from Firefly.helpers.settings import Settings

# Disable debug logging
import logging
logging.getLogger("requests").setLevel(logging.WARNING)
logging.getLogger("pyrebase").setLevel(logging.WARNING)

def main():
  # Get settings for Firefly.
  firefly_settings = Settings(CONFIG_FILE)

  # Initialize Firefly.
  firefly = Firefly(firefly_settings)

  # Initialize core API functions.
  core_api = FireflyCoreAPI(firefly, app)
  core_api.setup_api()

  # Start Firefly.
  firefly.start()


if __name__ == '__main__':
  main()

@@ -305,16 +305,72 @@
 WARNING)
+%0Alogging.getLogger(%22lightify%22).setLevel(logging.WARNING)
 %0A%0Adef ma

Set logging for lightify