log.io icon indicating copy to clipboard operation
log.io copied to clipboard

Sometimes source and stream are displayed abnormally

Open 592713711 opened this issue 5 years ago • 6 comments

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.

image

How should i filter them out

592713711 avatar Feb 06 '20 08:02 592713711

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.

msmathers avatar Feb 07 '20 18:02 msmathers

It look like help for me , thx ~

592713711 avatar Feb 10 '20 08:02 592713711

sorry 0.4.7 it does not work for me

image

592713711 avatar Feb 13 '20 06:02 592713711

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.

msmathers avatar Feb 14 '20 15:02 msmathers

@592713711 any luck?

msmathers avatar Feb 20 '20 15:02 msmathers

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

592713711 avatar Mar 14 '20 02:03 592713711