We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcc68ce commit 4c5e5b9Copy full SHA for 4c5e5b9
1 file changed
src/mcp/server/fastmcp/server.py
@@ -169,6 +169,9 @@ def __init__( # noqa: PLR0913
169
transport_security=transport_security,
170
)
171
172
+ # Configure logging
173
+ configure_logging(self.settings.log_level)
174
+
175
self._mcp_server = MCPServer(
176
name=name or "FastMCP",
177
instructions=instructions,
@@ -204,8 +207,6 @@ def __init__( # noqa: PLR0913
204
207
# Set up MCP protocol handlers
205
208
self._setup_handlers()
206
209
- # Configure logging
- configure_logging(self.settings.log_level)
210
211
@property
212
def name(self) -> str:
0 commit comments