allow winston to read events from piped stream
See original GitHub issueWhat’s the feature?
For what I’ve understood after reading winston features, there’s no way using its API to log events from piped streams in a nodejs stream way.
What problem is the feature intended to solve?
Input to winston should be possible to be streams. One use case would be logging child processes stdout and stderr using pipe()
instead of using EventEmitters
.
Is the absence of this feature blocking you or your team? If so, how?
No, it’s making the code not standard.
Is this feature similar to an existing feature in another tool?
Not sure.
Is this a feature you’re prepared to implement, with support from us?
No.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How do I output Connect/Express's logger output to Winston?
Here is what i did to solve this very issue. Basically use the stream option in the connect/express logger module to pipe the...
Read more >Node Logging Basics - The Ultimate Guide To Logging - Loggly
With Winston, you can do the following: Use multiple transports of the same type; Add custom transports; Stream logs; Query logs; Profiling; Handle...
Read more >Node.js Logging with Winston - Reflectoring
Logging is used to provide accurate context about what occurs in our application, it is the documentation of all events that happen within ......
Read more >Data streams | Elasticsearch Guide [8.5] | Elastic
Data streams are well-suited for logs, events, metrics, ... When you submit a read request to a data stream, the stream routes the...
Read more >PLOT SUMMARY 1984
We are introduced to Winston Smith and the world in which he lives. ... Throughout the book, we also read about Victory gin,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As per
winston@3
theLogger
is a stream as you can read here, so you can already use.pipe()
like this:I tried this but it still doesn’t post any of the data to my file.