[GH-ISSUE #220] Sometimes source and stream are displayed abnormally #186

Open
opened 2026-02-26 05:31:33 +03:00 by kerem · 6 comments
Owner

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.

image

How should i filter them out

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. ![image](https://user-images.githubusercontent.com/15106133/73917311-1a63e680-48fa-11ea-9a3f-8c0b4c3ac505.png) How should i filter them out
Author
Owner

@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.7 and see if that helps.

<!-- gh-comment-id:583530192 --> @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.7` and see if that helps.
Author
Owner

@592713711 commented on GitHub (Feb 10, 2020):

It look like help for me , thx ~

<!-- gh-comment-id:584008752 --> @592713711 commented on GitHub (Feb 10, 2020): It look like help for me , thx ~
Author
Owner

@592713711 commented on GitHub (Feb 13, 2020):

sorry 0.4.7 it does not work for me

image

<!-- gh-comment-id:585573218 --> @592713711 commented on GitHub (Feb 13, 2020): sorry 0.4.7 it does not work for me ![image](https://user-images.githubusercontent.com/15106133/74407572-396bf680-4e6d-11ea-8e00-ee5cfa5aae56.png)
Author
Owner

@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.8 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.

<!-- gh-comment-id:586328869 --> @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.8` 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.
Author
Owner

@msmathers commented on GitHub (Feb 20, 2020):

@592713711 any luck?

<!-- gh-comment-id:589093446 --> @msmathers commented on GitHub (Feb 20, 2020): @592713711 any luck?
Author
Owner

@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

<!-- gh-comment-id:598997948 --> @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
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#186
No description provided.