1
- A Python structured logger for Fluentd
2
- ======================================
3
-
4
- .. image :: https://travis-ci.org/fluent/fluent-logger-python.svg?branch=master
5
- :target: https://travis-ci.org/fluent/fluent-logger-python
6
- :alt: Build Status
7
-
8
- .. image :: https://coveralls.io/repos/fluent/fluent-logger-python/badge.svg
9
- :target: https://coveralls.io/r/fluent/fluent-logger-python
10
- :alt: Coverage Status
1
+ A Python structured logger for Fluentd/Fluent Bit
2
+ =================================================
11
3
12
4
Many web/mobile applications generate huge amount of event logs (c,f.
13
5
login, logout, purchase, follow, etc). To analyze these event logs could
14
6
be really valuable for improving the service. However, the challenge is
15
7
collecting these logs easily and reliably.
16
8
17
- `Fluentd <https://github.com/fluent/fluentd >`__ solves that problem by
9
+ `Fluentd <https://github.com/fluent/fluentd >`__ and ` Fluent Bit < https://fluentbit.io/ >`__ solves that problem by
18
10
having: easy installation, small footprint, plugins, reliable buffering,
19
11
log forwarding, etc.
20
12
@@ -24,10 +16,11 @@ Python application.
24
16
Requirements
25
17
------------
26
18
27
- - Python 3.5 +
19
+ - Python 3.7 +
28
20
- ``msgpack ``
29
21
- **IMPORTANT **: Version 0.8.0 is the last version supporting Python 2.6, 3.2 and 3.3
30
22
- **IMPORTANT **: Version 0.9.6 is the last version supporting Python 2.7 and 3.4
23
+ - **IMPORTANT **: Version 0.10.0 is the last version supporting Python 3.5 and 3.6
31
24
32
25
Installation
33
26
------------
@@ -366,23 +359,22 @@ that this doesn't happen, or it's acceptable for your application.
366
359
Testing
367
360
-------
368
361
369
- Testing can be done using
370
- `nose <https://nose.readthedocs.org/en/latest/ >`__.
371
-
372
- Release
373
- -------
374
-
375
- Need wheel package.
362
+ Testing can be done using `pytest <https://docs.pytest.org >`__.
376
363
377
364
.. code :: sh
378
365
379
- $ pip install wheel
366
+ $ pytest tests
380
367
381
- After that, type following command:
368
+
369
+ Release
370
+ -------
382
371
383
372
.. code :: sh
384
373
385
- $ python setup.py clean sdist bdist_wheel upload
374
+ $ # Download dist.zip for release from GitHub Action artifact.
375
+ $ unzip -d dist dist.zip
376
+ $ pipx twine upload dist/*
377
+
386
378
387
379
Contributors
388
380
------------
0 commit comments