Add TRUNK_DEBUG option for verbose trunk connection diagnostics
Add TRUNK_DEBUG=1 config option in [GLOBAL] that enables detailed logging of trunk connection lifecycle: state on connect/disconnect, heartbeat countdown warnings near timeout, every non-heartbeat frame with direction and type, send path decisions, and prefix matching details on the trunk server. Helps diagnose connection issues reported in #1 where the remote side kills connections.
This commit is contained in:
1 parent
9c359ba507
commit
638d3c527e
8 files changed
+186
-2
No files matched your search
@@ -24,6 +24,7 @@ def generate_reflector_conf(name: str) -> str:
|
||||
f"CLUSTER_TGS={cluster_str}",
|
||||
f"TRUNK_LISTEN_PORT={T.INTERNAL_TRUNK_PORT}",
|
||||
f"HTTP_SRV_PORT={T.INTERNAL_HTTP_PORT}",
|
||||
"TRUNK_DEBUG=1",
|
||||
"",
|
||||
"[SERVER_CERT]",
|
||||
f"COMMON_NAME={T.service_name(name)}",
|
||||
|
||||
Reference in new issue
Block a user