Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

fix: Display all logs in the console

Clémence Lesnéee3c2d7ce808
diff --git a/app/helpers/logging.py b/app/helpers/logging.py
index ad4cdd0..0e27af2 100644
--- a/app/helpers/logging.py
+++ b/app/helpers/logging.py
@@ -1,7 +1,8 @@
-from logging import basicConfig, getLogger
+from logging import StreamHandler, basicConfig, getLogger
from app.helpers.config import CONFIG
basicConfig(level=CONFIG.monitoring.logging.sys_level.value)
+getLogger("").addHandler(StreamHandler())
logger = getLogger("call-center-ai")
logger.setLevel(CONFIG.monitoring.logging.app_level.value)