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

fix(winston): do not remove info.level field #174

Merged
merged 3 commits into from
Jan 4, 2024
Merged

Conversation

trentm
Copy link
Member

@trentm trentm commented Jan 4, 2024

Winston's logform docs state that 'info' objects should always
have 'level' and 'message' fields. Some downstream transforms
and transports can rely on this. Instead the 'ecsStringify' will
handle excluding the 'level' field from the stringification.

Closes: #173

Winston's logform docs state that 'info' objects should always
have 'level' and 'message' fields. Some downstream transforms
and transports can rely on this. Instead the 'ecsStringify' will
handle excluding the 'level' field from the stringification.

Closes: #173
@trentm trentm requested a review from david-luna January 4, 2024 00:24
@trentm trentm self-assigned this Jan 4, 2024
@github-actions github-actions bot added the agent-nodejs Make available for APM Agents project planning. label Jan 4, 2024
@trentm trentm merged commit e5cde5c into main Jan 4, 2024
10 checks passed
@trentm trentm deleted the trentm/winston-info.level branch January 4, 2024 19:45
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
Status: Done
Development

Successfully merging this pull request may close these issues.

Please don't delete info.level
2 participants