|
|
@ -15,14 +15,15 @@ pip install logzio-python-handler |
|
|
|
|
|
|
|
## Tested Python Versions |
|
|
|
Travis CI will build this handler and test against: |
|
|
|
- "2.7" |
|
|
|
- "3.3" |
|
|
|
- "2.7" |
|
|
|
- "3.4" |
|
|
|
- "3.5" |
|
|
|
- "3.6" |
|
|
|
|
|
|
|
We can't ensure compatibility to any other version, as we can't test it automatically. |
|
|
|
|
|
|
|
**Note**: The Logz.io Python Handler no longer tests Python 3.3 (which was [end-of-lifed](https://www.python.org/dev/peps/pep-0398/#id11) in 2017). |
|
|
|
|
|
|
|
To run tests: |
|
|
|
|
|
|
|
```bash |
|
|
@ -62,6 +63,7 @@ format={"additional_field": "value"} |
|
|
|
- Time to sleep between draining attempts (defaults to "3") |
|
|
|
- Logz.io Listener address (defaults to "https://listener.logz.io:8071") |
|
|
|
- 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") |
|
|
|
|
|
|
|
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. |
|
|
@ -147,6 +149,7 @@ LOGGING = { |
|
|
|
- appname - Your django app |
|
|
|
|
|
|
|
## Release Notes |
|
|
|
- 2.0.12 - Support disable logs local backup |
|
|
|
- 2.0.11 - Completely isolate exception from the message |
|
|
|
- 2.0.10 - Not ignoring formatting on exceptions |
|
|
|
- 2.0.9 - Support extra fields on exceptions too (Thanks @asafc64!) |
|
|
|