diff --git a/.travis.yml b/.travis.yml index ec70e87..d118dbd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,8 @@ matrix: env: TOXENV=py37 - python: 3.8 env: TOXENV=py38 + - python: 3.9 + env: TOXENV=py39 install: - pip install tox diff --git a/README.md b/README.md index e20590f..bad528b 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,8 @@ format={"additional_field": "value"} - Debug flag. Set to True, will print debug messages to stdout. (defaults to "False") - Backup logs flag. Set to False, will disable the local backup of logs in case of failure. (defaults to "True") - Network timeout, in seconds, int or float, for sending the logs to logz.io. (defaults to 10) + - Retries number (retry_no), in seconds (defaults to 4). + - Retry timeout (retry_timeout) in seconds (defaults to 2). Please note, that you have to configure those parameters by this exact order. i.e. you cannot set Debug to true, without configuring all of the previous parameters as well. @@ -98,7 +100,9 @@ LOGGING = { 'formatter': 'logzioFormat', 'token': '<>', 'logs_drain_timeout': 5, - 'url': 'https://<>:8071' + 'url': 'https://<>:8071', + 'retries_no': 4, + 'retry_timeout': 2, } }, 'loggers': { @@ -209,16 +213,20 @@ LOGGING = { Please note that if you are using `python 3.8` it is preferred to use the `logging.config.dictConfig` method, as mentioned in [python's documentation](https://docs.python.org/3/library/logging.config.html#configuration-file-format). ## Release Notes +- 3.1.0 + - Bug fixes + - Retry number and timeout is now configurable - 3.0.0 - Deprecated `python2.7` & `python3.4` - Changed log levels on `_flush_queue()` method (@hilsenrat) + +
+ Expand to check old versions + - 2.0.15 - Added flusher decorator for serverless platforms(@mcmasty) - Add support for `python3.7` and `python3.8` -
- Expand to check old versions - - 2.0.13 - Add support for `pypy` and `pypy3`(@rudaporto-olx) - Add timeout for requests.post() (@oseemann) diff --git a/setup.py b/setup.py index 4e70646..fe0e999 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name="logzio-python-handler", - version='3.0.0', + version='3.1.0', description="Logging handler to send logs to your Logz.io account with bulk SSL", keywords="logging handler logz.io bulk https", author="roiravhon",