Skip to main content

Logging library that tells you why it happened

Project description

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. logxpy 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.9-3.13, as well as PyPy3. It is maintained by Itamar Turner-Trauring, and released under the Apache 2.0 License.

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

logxpy-0.1.0.tar.gz (216.3 kB view details)

Uploaded Source

Built Distribution

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

logxpy-0.1.0-py3-none-any.whl (132.9 kB view details)

Uploaded Python 3

File details

Details for the file logxpy-0.1.0.tar.gz.

File metadata

  • Download URL: logxpy-0.1.0.tar.gz
  • Upload date:
  • Size: 216.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for logxpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ed1800e92840d15e1daf9f4ea36f1eca7b877e7632a104e7d092b8b08adfaeb
MD5 afd1a5ffe7906498bff56308a3ddc8c5
BLAKE2b-256 73e25eb19452d3ee043ee7ffa2c83fb63d2ef9d96da71acd38b9f214e17e3359

See more details on using hashes here.

File details

Details for the file logxpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: logxpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 132.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for logxpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f297b3d4ecc1d2cb9c6f1d95feca085b37bfeac599361f55c0c6e6fb8e48d8d
MD5 eff0dd289f95661a14fa8f802ac3979a
BLAKE2b-256 49f62510a8881c469e2abffd1bde2deaff3dc1ad8bc2b726133628f34a5c97af

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