{"repo":"bobbui/json-logging-python","free":true,"listed":false,"github":"https://github.com/bobbui/json-logging-python","clone":"git clone https://github.com/bobbui/json-logging-python.git","description":"Cloud-native distributed Python logging library to emit JSON log that can be easily indexed by logging infrastructure","language":"Python","stars":310,"topics":["python","python3","python2","logging","logging-library","json","elasticsearch","elk","elk-stack","logstash"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"LOOKING FOR MAINTAINERS due to my current work commitments, I am unable to maintain this project. If you are interested in taking over the maintenance of this project, please feel free to open a pull request or contact me directly. I would be happy to transfer the ownership of this project to you. json-logging Python logging library to emit JSON log that can be easily indexed and searchable by logging infrastructure such as ELK , EFK , AWS Cloudwatch, GCP Stackdriver, etc. If you're using Cloud Foundry, it might worth to check out the library SAP/cf-python-logging-support which I'm also original author. Content 1. Features 2. Usage 2.1 Non-web application log 2.2 Web application log 2.3 Get current correlation-id 2.4 Log extra properties 2.5 Root logger 2.6 Custom log formatter 2.7 Exclude certain URL from request instrumentation 3. Configuration 4. Python References 5. Framework support plugin development 6. FAQ & Troubleshooting 7. References 1. Features 1. Emit JSON logs (format detail) 2. Lightweight, no dependencies, minimal configuration needed (1 LoC to get it working) 3. Seamlessly integrate with Python native logging module. Support both Python 2.7.x and 3.x 4. Auto extract correlation-id for distributed tracing [\\[1\\]](#1-what-is-correlation-idrequest-id) 5. Support HTTP request instrumentation. Built in support for FastAPI , Flask, Sanic , Quart, Connexion. Extensible to support other web frameworks. PR welcome :smiley: . 6. Highly customizable: support inject arbi","default_branch":null,"files":null,"tree":[],"storefront":"/r/bobbui","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bobbui/json-logging-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}