[Freeswitch-users] Re- switch_event.c and switch_cpp.cpp [NOTICE] logging. Request for two events to be logged as INFO or DEBUG logtype instead?

Giovanni Maruzzelli gmaruzz at gmail.com
Mon May 16 14:31:49 MSD 2016


Yes it is.

You can change them.

Just remember to "git stash" yoir mods, so you can "git stash apply" them
when you "git update" or "make current".

sent from mobile
cell: +39 347 266 56 18
Giovanni Maruzzelli
OpenTelecom.IT
Il 16/Mag/2016 11:45, "Andrew Keil" <andrew.keil at visytel.com> ha scritto:

> To FreeSWITCH Users,
>
>
>
> I have a simple request in order to improve the ESL events that I capture
> inside my application.  Currently there are two events that are of log type
> NOTICE that I would really appreciate become log type DEBUG or INFO (if
> possible).
>
>
>
> (1)    *switch_event.c*:2113 Event Binding deleted for
> ..\..\src\switch_cpp.cpp:CUSTOM
>
> a.       From the C code: switch_log_printf(SWITCH_CHANNEL_LOG,
> SWITCH_LOG_NOTICE, "Event Binding deleted for %s:%s\n", n->id,
> switch_event_name(n->event_id));
>
> b.       Can the SWITCH_LOG_NOTICE be changed to SWITCH_LOG_DEBUG or
> SWITCH_LOG_INFO?
>
> (2)    *switch_cpp.cpp*:83 bound to CUSTOM ….
>
> a.       From the C code: switch_log_printf(SWITCH_CHANNEL_LOG,
> SWITCH_LOG_NOTICE, "bound to %s %s\n", event_name,
> switch_str_nil(subclass_name));
>
> b.       Can the SWITCH_LOG_NOTICE be changed to SWITCH_LOG_DEBUG or
> SWITCH_LOG_INFO?
>
>
>
> Please note the line numbers are based on version 1.6.5 of FreeSWITCH, so
> they may have changed slightly now that the production build is 1.6.8.
>
>
>
> Let me know if this change is possible or not.
>
>
>
> Kind Regards,
>
>
>
> Andrew Keil
>
> *Visytel Pty Ltd*
>
>
>
> [image: visytellogo]
>
>
>
> *www.visytel.com <http://www.visytel.com/>*
>
>
>
> Mobile: +61 (0) 429 076 431
>
> Skype: visytel
>
>
>
> This e-mail message may contain confidential and commercially sensitive
> information. If you are not the intended recipient, any use, interference
> with, disclosure or copying of this material is unauthorised and
> prohibited. If you receive this e-mail message by mistake, please contact
> Visytel Pty Ltd on +61 429 076 431.
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160516/98bac6b8/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1332 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160516/98bac6b8/attachment.jpg 


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