How to display switch_snprintf logs
Hello, I’m debugging an issue where I’m not receiving events in some cases after a call is hung up. I’ve set “linger 60” and in the cases that it is successful I see the log “Socket Linger 60”, but in the cases where it fails I don’t see that log, making me think that the socket is not lingering correctly. I noticed while looking through the freeswitch code on github that there were some debug logs using “switch_snprintf” and I was wondering how to turn these on so that I can see more detail on what events are being sent and whether linger is being set correctly. Thanks, Andrew Reed
fsctl debug_level 10 (This will output alot of info so be careful on a busy system) Is this random or the same every time and do you have steps to replicate it every time? On Tue, Oct 25, 2022 at 3:31 PM Andrew Reed <Andrew.Reed@ipsoft.com> wrote:
Hello,
I’m debugging an issue where I’m not receiving events in some cases after a call is hung up. I’ve set “linger 60” and in the cases that it is successful I see the log “Socket Linger 60”, but in the cases where it fails I don’t see that log, making me think that the socket is not lingering correctly.
I noticed while looking through the freeswitch code on github that there were some debug logs using “switch_snprintf” and I was wondering how to turn these on so that I can see more detail on what events are being sent and whether linger is being set correctly.
Thanks,
Andrew Reed _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (2)
-
Andrew Reed
-
Len Graham