diff --git a/README.md b/README.md index 3b28f70..9ecc9a3 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ LOGGING = { - appname - Your django app ## Release Notes +- 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!) - 2.0.8 - Various PEP8, testings and logging changes (Thanks @nir0s!) diff --git a/logzio/handler.py b/logzio/handler.py index ac05da7..8767b61 100644 --- a/logzio/handler.py +++ b/logzio/handler.py @@ -90,6 +90,7 @@ class LogzioHandler(logging.Handler): # We want to ignore default logging formatting on exceptions # As we handle those differently directly into exception field message.exc_info = None + message.exc_text = None formatted_message = self.format(message) if isinstance(formatted_message, dict): diff --git a/setup.py b/setup.py index 4cd2244..570f621 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name="logzio-python-handler", - version='2.0.10', + version='2.0.11', description="Logging handler to send logs to your Logz.io account with bulk SSL", keywords="logging handler logz.io bulk https", author="roiravhon",