Skip to content
Renato Byrro edited this page Feb 16, 2021 · 21 revisions

Welcome to the Async HTTP Logging documentation.


Test Coverage Maintained Maintainability Technical Debt Issues

Requirements Status PyPI License

Code Style Code Formatter Test Framework


Sections

  1. Basic usage instructions
  2. Handler Class
  3. HTTP Transport Class
  4. Formatter Class
  5. Local caching with SQLite
  6. Anatomy of POST requests sent to the HTTP host
  7. Adding custom HTTP headers to requests
  8. Logging extra fields
  9. Configuration Constants and Environment Variables

Acknowledgement

Async HTTP Logging is almost entirely based on the Python LogStash Async library.

Async HTTP Logging consists basically of three Classes (Handler, HTTP Transport, Formatter) that wrap over the ones in Python LogStash Async.

We liked the approach used in Python LogStash Async, namely:

Although it's a great service, we didn't enjoy being limited to Elastic LogStash. Async HTTP Logging is a transformation to a library agnostic to backend stack. To use it, you only need an HTTP API that accepts POST requests configured at your desired hostname.

Clone this wiki locally