Log context break
Closed this issue · 1 comments
davinogueiradev commented
Describe the bug
The agent break after some request, when using together with Tesla with Tesla.Middleware.Logger
enabled.
After the message {removed_failing_filter,nr_logs_in_context}
all other logs lost level and much other information of metadata.
Environment
- Elixir & Erlang version (
elixir -v
): Elixir 1.14.3 (compiled with Erlang/OTP 25) - Agent version (
mix deps | grep new_relic_agent
): new_relic_agent 1.27.5 (Hex package) (mix)
davinogueiradev commented
Closing this issue.
The log was broken when trying to transform binary data into json, which is because by default is debug in Tesla middleware, and when disabled debug this does not occur more.