Skip to content

Commit

Permalink
Merge pull request #4029 from TimPansino/python-updates
Browse files Browse the repository at this point in the history
Small Python release note tweaks
  • Loading branch information
barbnewrelic committed Sep 23, 2021
2 parents 222e930 + 808fabb commit ef43fa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Install the agent using `easy_install/pip/distribute` via the [Python Package In

Previously, logs using the `logging` module sent to the `newrelic` logger would propagate to the root logger, potentially causing duplicate logs to appear or be sent to New Relic. This has been changed to no longer propagate to the root logger by default.

To reverse this behavior, in your application at any point you can run `logging.getLogger("newrelic").propagate = False`
To reverse this behavior, in your application you can run `logging.getLogger("newrelic").propagate = True` at any point after initializing the agent. If you use the `newrelic-admin` wrapper, this can be done at any time inside your application.

## Bug Fixes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ downloadLink: 'https://pypi.python.org/pypi/newrelic'

## Notes

This release of the Python agent enables Distributed Tracing by default, deprecates Cross Application Tracing, and includes bug fixes.
This release of the Python agent enables Distributed Tracing by default, deprecates Cross Application Tracing.

Install the agent using `easy_install/pip/distribute` via the [Python Package Index](https://pypi.python.org/pypi/newrelic) or download it directly from the New Relic [download site](http://download.newrelic.com/python_agent/release).

Expand Down

0 comments on commit ef43fa3

Please sign in to comment.