Skip to main content

thejsonlogger

A simple JSON structured logging formatter for Python.

Examples

Configuration

logging.conf

[formatters]
keys=thejsonlogger

[formatter_thejsonlogger]
class=thejsonlogger.TheJSONLogger

[handlers]
keys=console

[handler_console]
class=logging.StreamHandler
args=(sys.stdout,)
formatter=thejsonlogger

[loggers]
keys=root

[logger_root]
level=INFO
handlers=console

[logger_<logger_name>]
level=INFO
handlers=console

Download files

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

Source Distribution

thejsonlogger-0.0.5.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file thejsonlogger-0.0.5.tar.gz.

File metadata

  • Download URL: thejsonlogger-0.0.5.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for thejsonlogger-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a9c5fde7273019fde4e287c0b4375750d8a213b968dc9a19d3efc2bfa974b9e4
MD5 2e5eddba5f208526333c8415975cb9b6
BLAKE2b-256 2717dcc0f19ad771afc1f0e72872830f86bc871b0b2a3372a2a703484c169de9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 file

0.0.4

1 file

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

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