AttributeError: module 'newrelic.agent' has no attribute 'NewRelicContextFormatter'
jfurton opened this issue · 1 comments
jfurton commented
Description
getting this error:
AttributeError: 'newrelic.agent' has no attribute 'NewRelicContextFormatter' not visible anymore
with #655 seems like NewRelicContextFormatter was commented out.
newrelic-python-agent/newrelic/agent.py
Line 19 in ca420b3
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 commented
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.