Commit e3af57e
committed
Fix log level validation error preventing server startup
- Add import os statement
- Set LOG_LEVEL environment variable to 'INFO' by default
- Pass explicit log_level='INFO' parameter to FastMCP constructor
This fixes the ValueError: Invalid log level: info. Expected one of: ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']
that prevents the server from starting when FastMCP receives lowercase log levels.1 parent ad4b139 commit e3af57e
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
76 | | - | |
| 79 | + | |
0 commit comments