debug(backend): add early print to trace app.py startup
This commit is contained in:
@@ -26,6 +26,8 @@ import os
|
|||||||
if os.getenv("ALWRITY_ENABLED_FEATURES", "").strip().lower() == "podcast":
|
if os.getenv("ALWRITY_ENABLED_FEATURES", "").strip().lower() == "podcast":
|
||||||
os.environ["LOG_LEVEL"] = "WARNING"
|
os.environ["LOG_LEVEL"] = "WARNING"
|
||||||
|
|
||||||
|
print(f"[app.py] Starting... ALWRITY_ENABLED_FEATURES={os.getenv('ALWRITY_ENABLED_FEATURES')}", flush=True)
|
||||||
|
|
||||||
|
|
||||||
def get_enabled_features() -> set:
|
def get_enabled_features() -> set:
|
||||||
"""Get enabled features from ALWRITY_ENABLED_FEATURES env var."""
|
"""Get enabled features from ALWRITY_ENABLED_FEATURES env var."""
|
||||||
|
|||||||
Reference in New Issue
Block a user