Files
hermes-agent/agent/transports
alt-glitch 4db81cc513 fix(logging): print logger names without the hermes_agent. package prefix
Log files, stderr and the plugin-host and MCP-server streams printed
%(name)s verbatim, so a module that runs inside the hermes_agent package
wrote "hermes_agent.gateway.run:" where its lines read "gateway.run:".
People and support tooling search logs for the short names, and the
prefix carries no information.

Every Hermes log format now prints canonical_logger_name(record.name),
the same rule the component filters already match on. display_record()
in hermes_logging derives it; RedactingFormatter and the new
DisplayNameFormatter (used by the plain formatters in git_commit_graph,
plugin_host_child and hermes_tools_mcp_server) format through it.
record.name is unchanged, so filters, tests and third-party handlers
keep reading the true module name. Names without the prefix format
exactly as before.
2026-11-13 18:45:32 +00:00
..
…
…
…