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
Timestamp in the log file is inaccurate #511
Comments
Duplicate of #497 The timestamp in the log is the time when the log is written to disk, so there is a delay compared to the time when the text is received. I will improve this in the next bugfix version |
I am happy to inform you that WindTerm_2.3.1 has been released and this issue has been fixed. Please download and check it. If there are still bugs, please let me know, thank you. |
Finally, the new verison comes out, thanks for your hard work.👏 I found something interesting in v2.3.1, like the pic below, the log file shows line 1577 and 1578 has different timestamp, but session windows shows they are same, I guess maybe log file is more accurate? |
You are really very observant. 😄 As you analyzed, the timestamps in the logs are more precise. But why are the ones shown on the screen less accurate? Before we talk about this, we need to understand how the server refreshes the screen. In fact, the server doesn't refresh line by line, but wherever there is a change. That's why those blue lines are older than the context, because they are empty lines that don't need to be updated again after the first created ( Another feature is that the server sometimes does not just refresh the new and deleted text, but refreshes more text, or even the whole screen. As shown in the screen, all the lines were output once at Since most of the text printed before and after was the same, There are also some designs and techniques that will not be described in detail. I believe almost no other terminals can display the time of each line as well as |
I hope this issue doesn't take up too much of your time🤣 |
Not at all, as this issue should have been resolved and will be closed. 😄 You are welcome to continue to file new feature requests and bugs, thank you. |
WindTerm 2.3.0 PreRelease 4
win10 19044.1469
Session: Serial
I found the relative time in logging function is not same as margin's.
Like the screenshot below, in fact, the higlighted lines are about to print out at the same time (margin time is right), but log file show that they were output at different time (line 3039 is about 20s later than line 3038, and 3040 is similar).
The text was updated successfully, but these errors were encountered: