<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 17, 2013 at 7:48 PM, James Y Knight <span dir="ltr"><<a href="mailto:foom@fuhm.net" target="_blank">foom@fuhm.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I'm surprised that a thread with 32 messages about logging doesn't seem to have once mentioned windows events, osx structured syslog, or systemd journal as important design points. <br>
<br>
Maybe people are thinking about such things in the background but it looks a lot like this is being designed in a vacuum when there's plenty of air around.<br>
<br>
And, no sane sysadmin should ever want a twisted-specific log file format or to write custom python log filters. That's crazy. Gimme a verbosity knob and the ability to emit structured log events to existing systems, with a fallback plain text file format. Great.<br>

<br>
The prime goal, it seems to me, should be exposing features useful for facilities present in existing log systems.<br>
<br>
And having a logging system which doesn't even support a basic log level is just silly. Hopefully the new system can at least have that.</div><br></blockquote><div><br></div><div>The proposed logging module does include levels.<br>
<br></div><div>Also, I have definitely been thinking of real logging systems during this conversation -- in fact, I've been planning on experimenting with some of the popular *structured* logging systems these days and I plan on implementing and contributing log observers for them. I do think the "json file" log format is pretty pointless, though it might be a nifty exercise (unless there is some structured log aggregation system that reads json data from disk files?)<br>
<br></div><div>I think your accusations of design in a vacuum are too hasty and inflammatory. The whole reason I'm so interested in this discussion is to take advantage of *real* logging systems that can aggregate, filter, and search lots of log streams, based on structured event streams.<br>
</div><div> </div></div>-- <br>Christopher Armstrong<br><a href="http://radix.twistedmatrix.com/">http://radix.twistedmatrix.com/</a><br><a href="http://planet-if.com/">http://planet-if.com/</a><br><br>
</div></div>