We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0e3de4 commit 2f7347fCopy full SHA for 2f7347f
AgentCrew/main.py
@@ -52,9 +52,14 @@ def cli():
52
"""Agentcrew - AI Assistant and Agent Framework"""
53
from AgentCrew.modules import logger
54
import tempfile
55
+ import logging
56
57
formatter = "{time} - {name} - {level} - {message}"
58
log_level = os.getenv("AGENTCREW_LOG_LEVEL", "ERROR").upper()
59
+
60
+ httpx_logger = logging.getLogger("httpx")
61
+ httpx_logger.setLevel(logging.ERROR)
62
63
if os.getenv("AGENTCREW_ENV", "development") == "production":
64
log_dir_path = os.getenv("AGENTCREW_LOG_PATH", tempfile.gettempdir())
65
os.makedirs(log_dir_path, exist_ok=True)
0 commit comments