Skip to content

Commit

Permalink
Make empty sections DEBUG3, not DEBUG2.
Browse files Browse the repository at this point in the history
If we know they're empty, we don't care to get told that
on every packet.

We'll take the chance with people who delete the sections, and
then complain that they're not being processed.
  • Loading branch information
alandekok committed Feb 24, 2014
1 parent a183bc0 commit b355c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/modules.c
Expand Up @@ -752,7 +752,7 @@ rlm_rcode_t indexed_modcall(rlm_components_t comp, int idx, REQUEST *request)

if (idx == 0) {
list = server->mc[comp];
if (!list) RWDEBUG2("Empty %s section. Using default return values.", section_type_value[comp].section);
if (!list) RWDEBUG3("Empty %s section. Using default return values.", section_type_value[comp].section);

} else {
indexed_modcallable *this;
Expand Down

0 comments on commit b355c13

Please sign in to comment.