Skip to content
/ eliot Public
forked from itamarst/eliot

Eliot: the logging system that tells you *why* it happened

License

Notifications You must be signed in to change notification settings

chevah/eliot

 
 

Repository files navigation

Eliot: Logging that tells you why it happened

Build Status

Python's built-in logging and other similar systems 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 supports a range of use cases and 3rd party libraries:

Eliot is only used to generate your logs; you will might need tools like Logstash and ElasticSearch to aggregate and store logs if you are using multiple processes across multiple machines.

Eliot supports Python 3.5, 3.6, 3.7, and 3.8, as well as PyPy3. It is maintained by Itamar Turner-Trauring, and released under the Apache 2.0 License.

Python 2.7 is in legacy support mode, with the last release supported being 1.7; see here for details.

Testimonials

"Eliot has made tracking down causes of failure (in complex external integrations and internal uses) tremendously easier. Our errors are logged to Sentry with the Eliot task UUID. That means we can go from a Sentry notification to a high-level trace of operations—with important metadata at each operation—in a few seconds. We immediately know which user did what in which part of the system."

—Jonathan Jacobs

About

Eliot: the logging system that tells you *why* it happened

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.8%
  • HTML 1.2%
  • Other 1.0%