fix(gateway): source-neutral log wording for relay-exclusive sweep

sol-reviewer MINOR: the _enabled_explicit marker is set by config.yaml,
gateway.json, and dashboard PUTs alike, so the WARNING no longer claims
config.yaml specifically. Also names the opt-out env var in the message
so an operator seeing the WARNING knows the escape hatch.
This commit is contained in:
Ben Barclay
2026-08-21 12:42:13 +10:00
parent 477a0222f9
commit 2ef095ce46
+4 -2
View File
@@ -2793,8 +2793,10 @@ def _apply_env_overrides(config: GatewayConfig) -> None:
logger.warning(
"Relay connector is configured via GATEWAY_RELAY_URL; "
"disabling directly-connected platform '%s' even though "
"it is explicitly enabled in config.yaml. All messaging "
"goes through the connector on this deployment.",
"it is explicitly enabled in this profile's configuration. "
"All messaging goes through the connector on this "
"deployment. Set GATEWAY_RELAY_ALLOW_DIRECT_PLATFORMS=true "
"to keep direct platforms alongside the relay.",
platform.value,
)
else: