Skip to content

fix(winston, pino): a few crashes with req, res, event, and service fields #71

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

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

trentm
Copy link
Member

@trentm trentm commented Mar 18, 2021

Fix a couple crashes with convertReqRes:true and logging a req/res that
isn't an HTTP request or response object -- via update to ecs-helpers v1.1.0.
Also fix some conflicts with logging top-level "event" and "service"
fields with the winston formatter.

Fixes: #58
Fixes: #59

…ields

Fix a couple crashes with convertReqRes:true and logging a req/res that
isn't an HTTP request or response object -- via update to ecs-helpers v1.1.0.
Also fix some conflicts with logging top-level "event" and "service"
fields with the winston formatter.

Fixes: #58
Fixes: #59
@trentm trentm self-assigned this Mar 18, 2021
@github-actions github-actions bot added the agent-nodejs Make available for APM Agents project planning. label Mar 18, 2021
@ghost
Copy link

ghost commented Mar 18, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #71 opened

  • Start Time: 2021-03-18T23:46:36.421+0000

  • Duration: 7 min 53 sec

  • Commit: 201a94d

Trends 🧪

Image of Build Times

@trentm trentm merged commit 7c0b34e into master Mar 18, 2021
@trentm trentm deleted the trentm/fix-58-59 branch March 18, 2021 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-nodejs Make available for APM Agents project planning.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logging an object that contains 'response' key crashes things. Logging an object that contains an 'event' key, crashes things.
1 participant