Skip to content

Commit

Permalink
cdp: Change debug level of peer state to DBG
Browse files Browse the repository at this point in the history
IMHO debug level of message telling the state
of the peer should be DBG. If any problem
occurs on peers proper message will be written
on log. This way we have lighter log

(cherry picked from commit 79d022f)
  • Loading branch information
Federico Favaro authored and miconda committed Jun 27, 2016
1 parent df5859f commit 3c45fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cdp/peermanager.c
Expand Up @@ -277,7 +277,7 @@ int peer_timer(time_t now,void *ptr)
}

if (p->activity+config->tc<=now){
LM_INFO("peer_timer(): Peer %.*s \tState %d \n",p->fqdn.len,p->fqdn.s,p->state);
LM_DBG("peer_timer(): Peer %.*s \tState %d \n",p->fqdn.len,p->fqdn.s,p->state);
switch (p->state){
/* initiating connection */
case Closed:
Expand Down

0 comments on commit 3c45fb4

Please sign in to comment.