[Freeswitch-users] Frustrating and inconsistent log format !

Peter Steinbach lists at telefaks.de
Wed Jan 13 19:22:42 MSK 2016


Hello Tim,

I love having the UUID in the logs. This helps a lot during debugging a
system with high call volume. Thus I can simply grep the logs by UUID
and get (almost) all data for this call.

Best regards
Peter


On 01/13/16 17:06, Tim Smith wrote:
> Dear FreeSWITCH Developers,
>
> Permit me a modest rant if you may.
>
> Why do log lines start with UUID ?  Its format is hard to define and
> subject to the developer's whims ....why not start the line with a
> date, like almost any other sane program,  and put the UUID elsewhere
> ?
>
> Why on earth is the log format so inconsistent ? e.g.
>
> Sometimes developers feel like giving us a date ....
>
> 7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG]
> switch_core_state_machine.c:636
>
> Sometimes they even manage the date in a sensible location ....
>
> 2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124
>
> Other times they can't be bothered to provide such a critical piece of
> information.....
>
> 4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/
>
> Please devs... spend a little time cleaning up the logging ... it
> helps debugging and troubleshooting so much if we have some
> consistency there !!!!!
>
> Thanks
>
> Tim
>
> _________________________________________________________________________
> 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
>


-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de




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