log.io
log.io copied to clipboard
Sometimes source and stream are displayed abnormally
hello,when I configure log.io/inputs/file.json
"inputs": [ { "source": "embed_server", "stream": "online", "config": { "path": "/root/workspace/server/logfolder" } } ]
'/root/workspace/server/logfolder' is a folder with many files underneath
But when displaying, as more and more data is displayed, some abnormal displays will appear.
How should i filter them out
I was unable to reproduce this behavior however I have previously observed the server's TCP socket receiving duplicate, truncated versions of the same message. I added some defensive code to guard against this, try using [email protected]
and see if that helps.
It look like help for me , thx ~
sorry 0.4.7 it does not work for me
I'm still unable to reproduce, but took a different approach to fixing what I suspect to be issue. Try re-installing [email protected]
and see if that helps. The fix is in the log.io
package, NOT the log.io-file-input
package, so you shouldn't need to update log.io-file-input
.
If this still doesn't work, add "debug": true
to the config file for your server and post the server logs in this thread.
@592713711 any luck?
sorry it don't work for me when i "debug": true ,There is too much log output to see valid error messages
Is it possible to provide filter conditions on the log-server side, non-specified streams or sources are not displayed