Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'newrelic.agent' has no attribute 'NewRelicContextFormatter' #673

Closed
jfurton opened this issue Oct 25, 2022 · 1 comment

Comments

@jfurton
Copy link

jfurton commented Oct 25, 2022

Description

getting this error:

AttributeError: 'newrelic.agent' has no attribute 'NewRelicContextFormatter' not visible anymore

with #655 seems like NewRelicContextFormatter was commented out.

# from newrelic.api.log import NewRelicContextFormatter

https://docs.newrelic.com/docs/logs/logs-context/configure-logs-context-python/ still shows

from newrelic.agent import NewRelicContextFormatter

as the way to use it, not sure if I missed some deprecation / removal.

Your Environment
python3.11

@TimPansino
Copy link
Contributor

Sorry about that, looks like it was commented out by mistake and slipped through. We're running a release today so we'll get that fixed in the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants