Skip to main content

Logging library that tells you why it happened

Project description

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, and 3.7, 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eliot-1.9.0.tar.gz (151.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eliot-1.9.0-py2.py3-none-any.whl (111.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file eliot-1.9.0.tar.gz.

File metadata

  • Download URL: eliot-1.9.0.tar.gz
  • Upload date:
  • Size: 151.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for eliot-1.9.0.tar.gz
Algorithm Hash digest
SHA256 9f0e32a5aa678b90660c94f1cfee61b0244a6d91ace294d5ea42fb7163af73b9
MD5 31cf1ad82a5df20a62f7bf178190801d
BLAKE2b-256 a594765c7cf3d0a4e2a8388a8c89c5c5c0d1bfc18b2f4bab55704c8c77a37150

See more details on using hashes here.

File details

Details for the file eliot-1.9.0-py2.py3-none-any.whl.

File metadata

  • Download URL: eliot-1.9.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 111.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for eliot-1.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 667428971fc9bb636eae3fa613043ebb85389a520545726b4818f8ed8d734f26
MD5 4f424ee0f1206668b668a4339a0b4164
BLAKE2b-256 0db2b3e2e6d7b24f63f9f017b800b46a1e4f1418796c976262afde812a80ae05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page