<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Why do log lines start with UUID ?  Its format is hard to define and<br>
subject to the developer&#39;s whims ....why not start the line with a<br>
date, like almost any other sane program,  and put the UUID elsewhere<br>
?<br></blockquote><div><br></div><div>If you don&#39;t like the uuid at the front, just remove it from the logfile.conf.xml configuration</div><div><br></div><div>&lt;param name=&quot;uuid&quot; value=&quot;false&quot; /&gt;<br></div><div><br></div><div>You&#39;ve clearly not attempted to debug complex scenarios, where the uuid at the front is more useful, because when you have hundreds or thousands of calls and you are trying to figure out what happened with a particular call leg, you search for the uuid first, date second.</div><div><br></div><div>The format you despise, is terribly useful, so try to understand it rather than just hate it because is different to what you&#39;re used to.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Why on earth is the log format so inconsistent ? e.g.<br>
<br>
Sometimes developers feel like giving us a date ....<br>
<br>
7d28af7d-XXXX-XXXX-XXXX-2e20e2bXXXX 2016-01-13 12:00:47.198394 [DEBUG]<br>
switch_core_state_machine.c:636<br>
<br>
Sometimes they even manage the date in a sensible location ....<br>
<br>
2016-01-13 11:58:14.838392 [DEBUG] sofia.c:9124<br>
<br>
Other times they can&#39;t be bothered to provide such a critical piece of<br>
information.....<br>
<br>
4891efd5-XXXX-XXXX-XXXX-58d153b8XXXX Dialplan: sofia/internal/<br></blockquote><div><br></div><div>This is by design, not a whim, and many of us like it, makes routing logs easy to spot. Some people instead of calling these design decisions whims, actually provided a solution so it fits what they prefer:</div><div><br></div><div><a href="https://freeswitch.org/jira/browse/FS-6805">https://freeswitch.org/jira/browse/FS-6805</a><br></div><div><a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/44/overview">https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/44/overview</a><br></div><div><br></div><div>So you can add this to switch.conf.xml:</div><div><br></div><div>&lt;param name=&quot;dialplan-timestamps&quot; value=&quot;true&quot;/&gt;<br></div><div><br></div><div>And you get the behavior you want. Please spend the time learning the software rather than blaming the devs because you can&#39;t understand it or because they have preferences different than yours.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Please devs... spend a little time cleaning up the logging ... it<br>
helps debugging and troubleshooting so much if we have some<br>
consistency there !!!!!<br></blockquote><div><br></div><div>Consistency is good, but certain functionality cannot be provided if every single line has exactly the same format. Some log lines are not associated to a session, so they can&#39;t have a uuid at all. The FreeSWITCH logs are as consistent as is possible in a given context.</div></div></div></div>