There is mod_graylog2 which allows you to emit json formatted structured logs to either logstash or graylog server. It would be nice if some more support could be pushed to core, but it's not a priority for me. Chris
On Jan 13, 2016, at 11:28, Tim Smith <randomdev4@gmail.com> wrote:
Hello Peter,
You've got the wrong end of the stick.
Remove the UUIDs is not what I'm saying .... at all. ;-)
Tim
On 13 January 2016 at 16:22, Peter Steinbach <lists@telefaks.de> wrote: 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@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@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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org