You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using winston to send the log stream to the winstond
var winstond = require('winstond');
var server = winstond.nssocket.createServer({
services: ['collect', 'query', 'stream'],
port: 9003
});
server.add(winstond.transports.File, {
filename: __dirname + '/foo.log'
});
server.listen();
in the code above instead of getting a stream the logs got save directly on the file.
actually i want to emit all the logs coming to the winstond server(from the application server where winston resides)to the client side through socket.io
as a solution i know that i can write custom transport and emit the logs from application server to another server but i want to understand how does winstond is receiving the stream.
The text was updated successfully, but these errors were encountered:
Hi, I'm using winston to send the log stream to the winstond
in the code above instead of getting a stream the logs got save directly on the file.
actually i want to emit all the logs coming to the winstond server(from the application server where winston resides)to the client side through socket.io
as a solution i know that i can write custom transport and emit the logs from application server to another server but i want to understand how does winstond is receiving the stream.
The text was updated successfully, but these errors were encountered: