Skip to content

Commit

Permalink
Merge pull request #205 from kronosnet/link-info
Browse files Browse the repository at this point in the history
[host] increase log level for currently used links
  • Loading branch information
fabbione committed Mar 11, 2019
2 parents 0dd2541 + 0d9493b commit b1f8077
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libknet/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,12 +680,12 @@ int _host_dstcache_update_sync(knet_handle_t knet_h, struct knet_host *host)
}

if (host->link_handler_policy == KNET_LINK_POLICY_PASSIVE) {
log_debug(knet_h, KNET_SUB_HOST, "host: %u (passive) best link: %u (pri: %u)",
host->host_id, host->link[host->active_links[0]].link_id,
host->link[host->active_links[0]].priority);
log_info(knet_h, KNET_SUB_HOST, "host: %u (passive) best link: %u (pri: %u)",
host->host_id, host->link[host->active_links[0]].link_id,
host->link[host->active_links[0]].priority);
} else {
log_debug(knet_h, KNET_SUB_HOST, "host: %u has %u active links",
host->host_id, host->active_link_entries);
log_info(knet_h, KNET_SUB_HOST, "host: %u has %u active links",
host->host_id, host->active_link_entries);
}

/* no active links, we can clean the circular buffers and indexes */
Expand Down

0 comments on commit b1f8077

Please sign in to comment.