Skip to content

Commit

Permalink
Merge pull request #6 from nrccua/ARCH-477-add-the-ddtrace-logger-by-…
Browse files Browse the repository at this point in the history
…default-to-datadoglogger

Adding ddtrace logger to DatadogLogger by default
  • Loading branch information
nrccua-timr authored Nov 17, 2020
2 parents 50e11bf + b4b4eb1 commit 2d87b92
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ History
=======


v0.9.1 (2020-11-17)
-----------------------

* Add ddtrace logger to DatadogLogger by default saving the user having to pass this info on their side.


v0.9.0 (2020-11-17)
-----------------------

Expand Down
2 changes: 1 addition & 1 deletion aioradio/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(
self.logger = logging.getLogger(main_logger)
self.logger.setLevel(log_level)
self.log_level = log_level
self.datadog_loggers = set(datadog_loggers) if datadog_loggers else []
self.datadog_loggers = set(datadog_loggers + ['ddtrace']) if datadog_loggers else ['ddtrace']
self.format = log_format
self.add_handlers()

Expand Down
2 changes: 1 addition & 1 deletion aioradio/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ aioboto3==8.0.5
aiobotocore==1.1.2
aiojobs==0.2.2
aioredis==1.3.1
ddtrace==0.43.1
ddtrace==0.44.0
fakeredis==1.4.4
flask==1.1.2
httpx==0.16.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = fileobj.read()

setup(name='aioradio',
version='0.9.0',
version='0.9.1',
description='Generic asynchronous i/o python utilities for AWS services (SQS, S3, DynamoDB, Secrets Manager), Redis, MSSQL (pyodbc), JIRA and more',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 2d87b92

Please sign in to comment.