Eliot: Effective Logging with Itamar Turner-Trauring

The Python Podcast.__init__

Episode | Podcast

Date: Sat, 28 Oct 2017 21:00:00 -0400

<h3>Summary</h3> <p>Understanding what is happening in a software system can be difficult, especially when you have inconsistent log messages. Itamar Turner-Trauring created Eliot to make it possible for your project to tell you a story about how transactions flow through your program. In this week&#8217;s episode we go deep on proper logging practices, anti patterns, and how to improve your ability to debug your software with log messages.</p> <h3>Preface</h3> <ul> <li>Hello and welcome to Podcast.&#95;&#95;init&#95;&#95;, the podcast about Python and the people who make it great.</li> <li>I would like to thank everyone who supports us on <a href="https://www.pythonpodcast.com/podcastinit?utm_source=rss&amp;utm_medium=rss">Patreon</a>. Your contributions help to make the show sustainable.</li> <li>When you&#8217;re ready to launch your next project you&#8217;ll need somewhere to deploy it. Check out Linode at <a href="https://www.pythonpodcast.com/linode?utm_source=rss&amp;utm_medium=rss">podastinit.com/linode</a> and get a $20 credit to try out their fast and reliable Linux virtual servers for running your awesome app. And now you can deliver your work to your users even faster with the newly upgraded 200 GBit network in all of their datacenters.</li> <li>If you&#8217;re tired of cobbling together your deployment pipeline then it&#8217;s time to try out GoCD, the open source continuous delivery platform built by the people at ThoughtWorks who wrote the book about it. With GoCD you get complete visibility into the life-cycle of your software from one location. To download it now go to <a href="https://www.pythonpodcast.com/gocd?utm_source=rss&amp;utm_medium=rss">podcatinit.com/gocd</a>. Professional support and enterprise plugins are available for added piece of mind.</li> <li>Visit the <a href="https://www.pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">site</a> to subscribe to the show, sign up for the newsletter, and read the show notes. And if you have any questions, comments, or suggestions I would love to hear them. You can reach me on Twitter at <a href="https://twtiter.com/podcastinit?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">@Podcast&#95;&#95;init&#95;&#95;</a> or email <a href="mailto:hosts@podcastinit.com">hosts@podcastinit.com</a>)</li> <li>To help other people find the show please leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&amp;uo=6&amp;at=&amp;ct=&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">iTunes</a>, or <a href="https://play.google.com/music/m/I7ogju4xv6adasgqz6545jndgsy?t=Podcastinit_-_Python_and_the_people_who_make_it_great&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Google Play Music</a>, tell your friends and co-workers, and share it on social media.</li> <li>Your host as usual is Tobias Macey and today I&#8217;m interviewing Itamar Turner-Trauring about Eliot, a library for managing complex logs across multiple processes.</li> </ul> <h3>Interview</h3> <ul> <li>Introductions</li> <li>How did you get introduced to Python?</li> <li>What is Eliot and what problem were you trying to solve by creating it?</li> <li>How is Eliot implemented and how has the design evolved since you first started working on it?</li> <li>Why is it so important to have a standardized format for your application logs?</li> <li>What are some of the anti-patterns that you consider to be the most harmful when developers are setting up logging in their projects?</li> <li>What have been the most challenging aspects of building and maintaining Eliot?</li> <li>How does Eliot compare to some of the other third party logging libraries available such as structlog or logbook?</li> <li>What are some of the improvements or additional features that you have planned for the future of Eliot?</li> </ul> <h3>Keep In Touch</h3> <ul> <li><a href="https://codewithoutrules.com?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Website</a></li> <li><a href="https://twitter.com/itamarst?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">@itamarst</a> on Twitter</li> </ul> <h3>Picks</h3> <ul> <li>Tobias <ul> <li><a href="http://moonshot.audio/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Moonshot Podcast</a></li> </ul> </li> <li>Itamar <ul> <li><a href="https://www.goodreads.com/book/show/19089.Middlemarch?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Middlemarch</a> by George Eliot</li> </ul> </li> </ul> <h3>Links</h3> <ul> <li><a href="https://eliot.readthedocs.io/en/latest/index.html?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Eliot</a></li> <li><a href="http://www.zope.org/en/latest/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Zope</a></li> <li><a href="http://php.net/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">PHP</a></li> <li><a href="http://opentracing.io/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">OpenTracing</a></li> <li><a href="http://zipkin.io/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Zipkin</a></li> <li><a href="http://www.demarcken.org/carl/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Carl De Marcken</a></li> <li><a href="https://sentry.io/welcome/?utm_source=podcastinit&amp;utm_medium=podcast&amp;utm_campaign=sponsored&amp;code=podcastinit&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Sentry</a></li> <li><a href="https://www.elastic.co/products/elasticsearch?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Elasticsearch</a></li> <li><a href="https://www.elastic.co/products/logstash?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Logstash</a></li> <li><a href="https://www.elastic.co/products/kibana?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Kibana</a></li> <li><a href="https://github.com/jonathanj/eliottree?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Eliot-Tree</a></li> <li><a href="http://danlebrero.com/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Daniel Lebrero</a></li> <li><a href="https://clusterhq.com/flocker/introduction/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Flocker</a></li> <li><a href="https://www.python.org/dev/peps/pep-0550/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Context Local Variables PEP (PEP 550)</a></li> <li><a href="http://www.brendangregg.com/flamegraphs.html?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Flamegraph</a></li> <li><a href="http://www.brendangregg.com/index.html?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Brendan Gregg</a></li> <li><a href="https://en.wikipedia.org/wiki/Directed_acyclic_graph?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">DAG</a></li> <li><a href="https://pypi.org/project/structlog/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Structlog</a></li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a><img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fwww.pythonpodcast.com%2Feliot-logging-with-itamar-turner-trauring-episode-133%2F&amp;action_name=Eliot%3A+Effective+Logging+with+Itamar+Turner-Trauring+-+Episode+133&amp;urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&amp;utm_source=rss&amp;utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" /></p>