-
Notifications
You must be signed in to change notification settings - Fork 337
Closed
Description
Both are hooking into logrus' formatting mechanism. This is meant to create a byte slice, which logrus then writes to a sink. Instead both formatters write to their own sync as a side effect. The formatted log lines proceed being printed into the original sink, i.e. stdout.
The side effect is obviously bad as there's stuff logrus does internally afterwards.
But it's also just inconsistent from the configuration side. We pretend the flag flips the sink, when in fact it just adds one that as written to in a non-intended way.
The configuration aspect is possibly too far along to fix.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels