[Twisted-Python] ANN: Eliot 1.7, the causal logging library, now with inlineCallbacks support

Itamar Turner-Trauring itamar at itamarst.org
Thu Mar 21 09:27:35 MDT 2019


Python and Twisted's built-in `logging` output a stream of factoids: they’re interesting, but you can’t really tell what’s going on.

 * Why is your application slow?
 * What caused this code path to be chosen?
 * Why did this error happen?
Standard logging can’t answer these questions.

But with a better model you could understand what and why things happened in your application. You could pinpoint performance bottlenecks, you could understand what happened when, who called what.

That is what Eliot does. `Eliot` is a Python logging system that outputs causal chains of *actions*: actions can spawn other actions, and eventually they either *succeed or fail*. The resulting logs tell you the story of what your software did: what happened, and what caused it.


Eliot has had good Twisted support from the start, but the latest release also supports inlineCallbacks, thanks to Jean-Paul Calderone.

You can learn more about Eliot at https://eliot.readthedocs.io/en/stable/

-- 
Itamar Turner-Trauring
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20190321/0fc9efd7/attachment.html>


More information about the Twisted-Python mailing list