Skip to content

Commit 21a0760

Browse files
author
thang
committed
update features
1 parent a9cfe03 commit 21a0760

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# json-logging
22
Python logging library to emit JSON log that can be easily indexed and searchable by logging infrastructure such as [ELK](https://www.elastic.co/webinars/introduction-elk-stack).
33

4-
If you're using Cloud Foundry, it worth to check out the library [SAP/cf-python-logging-support](https://github.com/SAP/cf-python-logging-support) which I'm also original author and contributor.
4+
If you're using Cloud Foundry, it worth to check out the library [SAP/cf-python-logging-support](https://github.com/SAP/cf-python-logging-support) which I'm also original author and contributor.
55
# Content
66
1. [Features](#1-features)
77
2. [Usage](#2-usage)
@@ -17,11 +17,12 @@ If you're using Cloud Foundry, it worth to check out the library [SAP/cf-python-
1717
7. [References](#7-references)
1818

1919
# 1. Features
20-
1. Lightweight, no dependencies. Tested with Python 2.7 & 3.5.
21-
2. 100% compatible with built-in **logging** module. Minimal configuration needed.
22-
3. Emit JSON logs, see here for detailed log format. [\[0\]](#0-full-logging-format-references)
20+
1. Lightweight, no dependencies. Minimal configuration needed (1 LoC to getting started)
21+
2. 100% compatible with built-in **logging** module. Support both Python 2.7.x and 3.x
22+
3. Emit JSON logs. See for detailed log format here [\[0\]](#0-full-logging-format-references)
2323
4. Support **correlation-id** [\[1\]](#1-what-is-correlation-idrequest-id)
24-
5. Support request instrumentation. Built in support for [Flask](http://flask.pocoo.org/) & [Sanic](http://flask.pocoo.org/). Extensible to support others. Pull Request welcome to add other frameworks' support.
24+
5. Support HTTP request instrumentation. Built in support for [Flask](http://flask.pocoo.org/) & [Sanic](http://flask.pocoo.org/).
25+
Extensible to support other web frameworks. Pull Request welcome :smiley: .
2526
6. Support inject arbitrary extra properties to JSON log message.
2627

2728
# 2. Usage

0 commit comments

Comments
 (0)