Eliot: Logging that tells you why it happened
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:
Logging within a single process.
Causal tracing across a distributed system.
Scientific computing, with built-in support for NumPy and Dask.
Asyncio and Trio coroutines and the Twisted networking framework.
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.
Download from PyPI or conda-forge.
Need help or have any questions? File an issue on GitHub.
Commercial support is available from Python⇒Speed.
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.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eliot-1.12.0.tar.gz | 152.1 kB | Without provenance | Details for eliot-1.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eliot-1.12.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for eliot-1.12.0-py2.py3-none-any.whl |
Total release size: 266.1 kB
Release files / eliot-1.12.0.tar.gz
| Download URL | eliot-1.12.0.tar.gz |
|---|---|
| Size | 152.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6e16d8a4392cac6bd07358aaef140c50059ab00fc13171012810e33e1d94b71
|
|
BLAKE2b-256 checksum How to use checksums |
26b5f8fa5483623e4bda84d93ec1a5fa635470e84641d08dcf335d59724a27ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.17
|
Release files / eliot-1.12.0-py2.py3-none-any.whl
| Download URL | eliot-1.12.0-py2.py3-none-any.whl |
|---|---|
| Size | 114.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ecc9809197f23834a684816d615ef65d2deed701720b53b7a705b5e155aa7b02
|
|
BLAKE2b-256 checksum How to use checksums |
ba7a7be947d07a627f371f3902224cda51caed738480827e90c29f7368f95179
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/2.7.17
|
Security for eliot 1.12.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.