diff --git a/agentuity/server/__init__.py b/agentuity/server/__init__.py index 2d7acd5..4cffcc6 100644 --- a/agentuity/server/__init__.py +++ b/agentuity/server/__init__.py @@ -695,7 +695,14 @@ def autostart(callback: Callable[[], None] = None): loop = asyncio.new_event_loop() asyncio.set_event_loop(loop) + # Configure logging with a default handler if none exists + # This ensures logs are visible even if the caller doesn't configure logging + logging.basicConfig( + level=logging.INFO, + format="[%(levelname)-5.5s] %(message)s", + ) logger.setLevel(logging.INFO) + config_data, config_file = load_config() if config_data is None: