Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long Format: Raw lines interpreted as part of the previous line's message #1

Open
TBM13 opened this issue Jul 19, 2023 · 0 comments
Open

Comments

@TBM13
Copy link
Owner

TBM13 commented Jul 19, 2023

Raw log lines such as --------- beginning of system will be displayed as part of the previous log line's message.

When reading log from stdin pipe, it's not possible to identify when a log line ends.
This is because sys.stdin.readline() ignores empty lines which are what the Long format uses to indicate a log line ended.
We can only be certain for sure that a log line ended whenever a new one starts.
So, raw log lines between them will not be considered as such.
image

When reading log from live device, we can properly identify the end of the log line but this is not done in order to keep the code simple, it's not worth the trouble right now.

@TBM13 TBM13 changed the title Long Format: Raw lines are interpreted as part of the previous line's message Long Format: Raw lines interpreted as part of the previous line's message when reading log from file Nov 23, 2023
@TBM13 TBM13 changed the title Long Format: Raw lines interpreted as part of the previous line's message when reading log from file Long Format: Raw lines interpreted as part of the previous line's message Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant