Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Update logging format in service.py to include logger name for better context in log messages.

Magnus Müller9b72be9ea0f9
diff --git a/eval/service.py b/eval/service.py
index 2881568ca..b56416d74 100644
--- a/eval/service.py
+++ b/eval/service.py
@@ -57,7 +57,8 @@ from PIL import Image
MAX_IMAGE = 5
-logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
+
+logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(name)s: %(message)s')
logger = logging.getLogger(__name__)
Laminar.initialize()