gateway.log, `hermes logs --component` and the gateway diagnostics export match logger names against top-level prefixes such as "gateway". A module that runs inside the hermes_agent package logs as hermes_agent.gateway.run, which no prefix matches, so its records drop out of its component with no error. canonical_logger_name() removes the package prefix, and the three consumers compare that name.