<div dir="ltr">Ooops.. the link <a href="https://logentries.com/doc/json/">https://logentries.com/doc/json/</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 4:36 PM, Tao Mao <span dir="ltr"><<a href="mailto:yiyeguhu@gmail.com" target="_blank">yiyeguhu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Regarding alternative log format, has JSON format been put on the table? It has human and machine readability as well as extensibility (i.e., not likely to break existing tools when new fields are added).<div><br></div><div>You can take a glance here for how JSON logs would look like in other field.</div><div><br></div><div>Thanks.</div><span class="HOEnZb"><font color="#888888"><div>Tao Mao</div><div><br></div><div> </div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 8:33 AM, Kirk Pepperdine <span dir="ltr"><<a href="mailto:kirk@kodewerk.com" target="_blank">kirk@kodewerk.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Johann,<br>
<br>
XML is far from my favorite format. It’s unnecessarily verbose. But then, I also don’t care that much about “human readable” either.<br>
<br>
Kind regards,<br>
Kirk<br>
<div><div><br>
> On Sep 24, 2015, at 3:17 PM, Bengt Rutisson <<a href="mailto:bengt.rutisson@oracle.com" target="_blank">bengt.rutisson@oracle.com</a>> wrote:<br>
><br>
><br>
><br>
> Hi Johann,<br>
><br>
> Thanks for looking at the JEP!<br>
><br>
> On 24/09/15 14:40, Johann N. Loefflmann wrote:<br>
>> On 09/24/2015 02:08 PM, Bengt Rutisson wrote:<br>
>>> and I'm happy to hear some suggestions on how to format this nicely,<br>
>><br>
>> Why not printing out xml on demand (resp. by default if -Xloggc is set) ?<br>
>> With xml any preferred/customized output format could be generated from the log (e.g. plain text).<br>
><br>
> I think this has already been discussed in the discussions around the JEP for the unfied logging framework "JEP 158 Unified JVM Logging". Please see the discussions there.<br>
><br>
> In short I think the main point is that it is good if the logging is easy for tools to parse but the main intent is still that they should be human readable. So, XML is not a desirable format.<br>
><br>
> Thanks,<br>
> Bengt<br>
><br>
>><br>
>> just my 0.02 cents,<br>
>> -Johann<br>
>><br>
><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>