feat: add log level configuration and validation

This commit is contained in:
Daniel Bauer
2025-12-02 13:26:20 +01:00
parent c75629e3ff
commit 9c9594367c
3 changed files with 22 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ config = CordraConfig()
cordra_client = CordraClient(config)
logger = logging.getLogger(__name__)
logger.setLevel(config.log_level)
@mcp.tool(