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
@@ -140,6 +140,7 @@ class TrunkLink : public sigc::trackable
|
||||
Reflector* m_reflector;
|
||||
Async::Config& m_cfg;
|
||||
std::string m_section;
|
||||
bool m_debug = false;
|
||||
std::string m_peer_host;
|
||||
uint16_t m_peer_port;
|
||||
std::string m_secret;
|
||||
|
||||
Reference in new issue
Block a user