View the source code for this module on GitHub: https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/server/logging/config.py
InspectorLogFilter
setup_logging
function setup_logging
Set up logging configuration for MCP server.ReturnsDebug level (0: production, 1: debug+routes, 2: debug+routes+jsonrpc)Logging level (DEBUG, INFO, WARNING, ERROR)Whether to show inspector-related access logs (default: False)Path prefix for inspector routes
SignatureUvicorn logging configuration dict