demote spurious log_infos to log_debug
This commit is contained in:
parent
ec1b761489
commit
19c4a04932
@ -295,7 +295,7 @@ static node_t* _lookup_node(node_t *root, uint32_t prefix, int len)
|
|||||||
void constraint_paint_value(constraint_t *con, value_t value)
|
void constraint_paint_value(constraint_t *con, value_t value)
|
||||||
{
|
{
|
||||||
assert(con);
|
assert(con);
|
||||||
log_info("constraint", "Painting value %lu", value);
|
log_trace("constraint", "Painting value %lu", value);
|
||||||
|
|
||||||
// Paint everything except what we will put in radix
|
// Paint everything except what we will put in radix
|
||||||
_count_ips_recurse(con->root, value, (uint64_t)1 << 32, 1, 1);
|
_count_ips_recurse(con->root, value, (uint64_t)1 << 32, 1, 1);
|
||||||
@ -311,7 +311,7 @@ void constraint_paint_value(constraint_t *con, value_t value)
|
|||||||
con->radix[con->radix_len++] = prefix;
|
con->radix[con->radix_len++] = prefix;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log_info("constraint", "%lu IPs in radix array, %lu IPs in tree",
|
log_debug("constraint", "%lu IPs in radix array, %lu IPs in tree",
|
||||||
con->radix_len * (1 << (32 - RADIX_LENGTH)), con->root->count);
|
con->radix_len * (1 << (32 - RADIX_LENGTH)), con->root->count);
|
||||||
con->painted = 1;
|
con->painted = 1;
|
||||||
con->paint_value = value;
|
con->paint_value = value;
|
||||||
|
@ -161,7 +161,7 @@ int cyclic_init(uint32_t primroot_, uint32_t current_)
|
|||||||
for (i=0; i<sizeof(groups)/sizeof(groups[0]); i++) {
|
for (i=0; i<sizeof(groups)/sizeof(groups[0]); i++) {
|
||||||
if (groups[i].prime > num_addrs) {
|
if (groups[i].prime > num_addrs) {
|
||||||
cur_group = &groups[i];
|
cur_group = &groups[i];
|
||||||
log_info("cyclic", "using prime %lu, known_primroot %lu", cur_group->prime, cur_group->known_primroot);
|
log_debug("cyclic", "using prime %lu, known_primroot %lu", cur_group->prime, cur_group->known_primroot);
|
||||||
prime = groups[i].prime;
|
prime = groups[i].prime;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user