logging: move socket mechanics and periodic probe decisions to trace
This commit is contained in:
1 parent
15d460ee7c
commit
7eb6d6ee68
3 files changed
+11
-8
No files matched your search
@@ -678,11 +678,11 @@ int topo_node_ping_request_cbk(struct TOPO_GROUPS* groups, uint64_t node_id) {
|
||||
if (nq) {
|
||||
struct TOPO_CONNECTIVITY* c = &nq->connectivity;
|
||||
if (c->last_ping_time == 0 || (now - c->last_ping_time) > PING_TTL_TB) {
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_BGP, "ping_request_cbk: node=%016llx last_ping=%llu now=%llu stale=1",
|
||||
DEBUG_TRACE(DEBUG_CATEGORY_BGP, "ping_request_cbk: node=%016llx last_ping=%llu now=%llu stale=1",
|
||||
(unsigned long long)node_id, (unsigned long long)c->last_ping_time, (unsigned long long)now);
|
||||
return 1;
|
||||
}
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_BGP, "ping_request_cbk: node=%016llx last_ping=%llu now=%llu stale=0",
|
||||
DEBUG_TRACE(DEBUG_CATEGORY_BGP, "ping_request_cbk: node=%016llx last_ping=%llu now=%llu stale=0",
|
||||
(unsigned long long)node_id, (unsigned long long)c->last_ping_time, (unsigned long long)now);
|
||||
}
|
||||
ge = ge->next;
|
||||
|
||||
Reference in new issue
Block a user