Skip to main content

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

Metadata

Release files for eliot 1.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eliot 1.11.0
File Size Uploaded
eliot-1.11.0.tar.gz 151.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eliot 1.11.0
File Interpreter ABI Platform
eliot-1.11.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 264.9 kB

Release files / eliot-1.11.0.tar.gz

Download URL eliot-1.11.0.tar.gz
Size 151.8 kB
Tags Source
SHA-256 checksum
How to use checksums
166ac21f6bef7dbb1b2b1c3e36445ebe4aacca1d0addcbb5b1df0f77c9720f78
BLAKE2b-256 checksum
How to use checksums
f8aa73db78b825a8d7fb0fb02fd29ae46185262138c3e20e2619bd98ec924b3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.17

Release files / eliot-1.11.0-py2.py3-none-any.whl

Download URL eliot-1.11.0-py2.py3-none-any.whl
Size 113.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
84909565e1a0b2d8e3351b95377312259f1fc164ef1f9d704f50bbbc4ae7b140
BLAKE2b-256 checksum
How to use checksums
776435a7d3bae09d6fe24e5baf8cc719111c4556d543182f0392581ebec1c49e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.17

Release history Release notifications | RSS feed

1.17.5

2 release files

1.16.0

2 release files

1.15.0

1 release file

1.14.0

2 release files

1.13.0

2 release files

1.12.0

2 release files

This release

1.11.0 This release

2 release files

1.10.0

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

1 release file

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page