Skip to main content

Json log formatter

Project description

https://travis-ci.org/ObadaAlexandru/JsonLogFormatter.svg?branch=master

Formats the log messages in a JSON format as follows:

{   "description": "Some exception",
     "log_type": "application_log"
     "severity": "ERROR",
     "source_file": "test.py",
     "module": "test",
     "thread": "MainThread",
     "pid": 74607,
     "stacktrace": "Traceback (most recent call last):\n  File\"test.py\", line 20,"
 }

A message in JSON format facilitates the logs processing.

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

JsonLogFormatter-1.0.5.tar.gz (2.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page