mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-25 09:05:55 +03:00
[GH-ISSUE #220] Sometimes source and stream are displayed abnormally #186
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#186
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @592713711 on GitHub (Feb 6, 2020).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/220
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
@msmathers commented on GitHub (Feb 7, 2020):
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
log.io@0.4.7and see if that helps.@592713711 commented on GitHub (Feb 10, 2020):
It look like help for me , thx ~
@592713711 commented on GitHub (Feb 13, 2020):
sorry 0.4.7 it does not work for me
@msmathers commented on GitHub (Feb 14, 2020):
I'm still unable to reproduce, but took a different approach to fixing what I suspect to be issue. Try re-installing
log.io@0.4.8and see if that helps. The fix is in thelog.iopackage, NOT thelog.io-file-inputpackage, so you shouldn't need to updatelog.io-file-input.If this still doesn't work, add
"debug": trueto the config file for your server and post the server logs in this thread.@msmathers commented on GitHub (Feb 20, 2020):
@592713711 any luck?
@592713711 commented on GitHub (Mar 14, 2020):
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