[Freeswitch-users] squelch repeated log entries for Ping failed

Jeff Pyle jpyle at fidelityvoice.com
Fri Aug 16 05:10:54 MSD 2013


Hello,

When a gateway is not reachable I see messages like this in the log:
  [WARNING] sofia.c:4880 Ping failed gw1 with code 408 - count 1/0/1, state
DOWN

This message continues to repeat until the gateway becomes reachable.

I do like to know a gateway is down, but I don't need to know if a gateway
is *still* down.  It fills up the syslog on a relatively limited embedded
device in this case.  Is there a way to limit logging to only when a
gateway changes state?

I tried the "$RepeatedMsgReduction on" option in rsyslog but it seems
that's no longer available.  Hmm.

Version 1.2.11-n20130813T230126Z-1~wheezy+1+git~20130813T212504Z~2131cd6cf2
(-n20130813T230126Z-1~wheezy+1git 2131cd6 2013-08-13 21:25:04Z)


Regards,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130815/bafa61cc/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list