Skip to content

[Bug]: SPLAT Format behavior is inconsistent (master issue) #2072

@maverick1872

Description

@maverick1872

Purpose

There appears to be a larger issue within Winston in how the SPLAT format behaves, as well as some side-effects due to hot path optimizations of the log logic. This story is meant to consolidate and track Issues/PRs here in Winston, as well as in WinstonJS/Logform & WinstonJS/Winston-Transport.

Thoughts

Will be fleshed out once I'm confident I have consolidated the majority of issues/PRs regarding SPLAT behavior.

Consolidations

Below is a compiled list of all issues and pull requests I have been able to find regarding this issue. They are sorted newest to oldest. All issues below are going to be marked as a duplicate and then closed. This is being done to hopefully centralize all efforts for resolving this issue to this issue moving forward.

Issues:

Pull Requests:

Notes

If you're aware of any other Issues or PRs (including those that have been closed) that are not included above please let me know and I'll get them added to the list.

Reproducible examples of issues currently present

When splat format is not configured metadata is not included when a token is found in log message
Metadata not sent to every transport

🔎 Search Terms

splat format

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions