Skip to content

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

dont squash browser_use logger names

Nick Sweeting39ffb0866f45
diff --git a/browser_use/logging_config.py b/browser_use/logging_config.py
index 5138e8d28..08198af35 100644
--- a/browser_use/logging_config.py
+++ b/browser_use/logging_config.py
@@ -77,8 +77,8 @@ def setup_logging():
class BrowserUseFormatter(logging.Formatter):
def format(self, record):
- if isinstance(record.name, str) and record.name.startswith('browser_use.'):
- record.name = record.name.split('.')[-2]
+ # if isinstance(record.name, str) and record.name.startswith('browser_use.'):
+ # record.name = record.name.split('.')[-2]
return super().format(record)
# Setup single handler for all loggers