MCP.HermesLogging (fnord v0.9.29)
View SourceIntegration point for configuring Hermes MCP logging.
Hermes logs MCP client/server/transport/protocol events via Logger.*.
When LOGGER_LEVEL=debug, those logs can be very noisy unless explicitly
disabled.
Fnord treats Hermes MCP debug logs as opt-in: they are enabled only when
FNORD_DEBUG_MCP is truthy.
This module centralizes that behavior so it can be applied early (before any MCP clients start) and consistently across call sites.
Summary
Functions
Integration point for configuring Hermes MCP logging.
Configures Hermes MCP logging based on FNORD_DEBUG_MCP.
Must be called before MCP clients start to prevent Hermes default debug logging when LOGGER_LEVEL=debug.
Sets :hermes_mcp, :log and :hermes_mcp, :logging application env keys.
Functions
@spec configure() :: :ok
Integration point for configuring Hermes MCP logging.
Configures Hermes MCP logging based on FNORD_DEBUG_MCP.
Must be called before MCP clients start to prevent Hermes default debug logging when LOGGER_LEVEL=debug.
Sets :hermes_mcp, :log and :hermes_mcp, :logging application env keys.