Features
Support
Purchase
Documentation
Download
Login
Register
Login
Register
Home
»
LogViewPlus Support
»
Help & Support
»
Log Line Number Issue
Log Line Number Issue
Post Reply
Like
5
Log Line Number Issue
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
ahdung
ahdung
posted 4 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 7,
Visits: 8
When I close and restart my program, LVP will generate the wrong log line number, must Reload File to fix it, please help.
Reply
Like
5
ahdung
ahdung
posted 4 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 7,
Visits: 8
log file is txt, and LVP version is 2.4.18.0
Reply
Like
3
LogViewPlus Support
LogViewPlus Support
posted 4 Years Ago
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.2K,
Visits: 4.3K
Hi,
v2.4.18 is an old release. I definitely think it is worth
upgrading
to the latest BETA version - v2.5.11. The latest beta is stable and we plan to make it the main release later this week.
The line numbers shown are not necessarily incorrect. Where you see a gap in line numbers, can you please confirm those log lines exist on a single line? Line numbers indicate the line where the log entry started and can be verified in another program that supports line numbers - such as Notepad++.
Also, can you please confirm your grid columns are unsorted?
Hope that helps,
Toby
Reply
Like
4
ahdung
ahdung
posted 4 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 7,
Visits: 8
If you have not encountered this problem, then it will not magically disappear in the new version.
I understand what you mean, I'm sure the log file is one line == one entry, and no filter and order in LVP, actually [Reload File] can fix this issue, so it is really a issue.
My project is asp.net core 5.0 webapi, use
Serilog.Extensions.Logging.File
, just run and close, and rerun reclose, you'll got it.
Reply
Like
4
LogViewPlus Support
LogViewPlus Support
posted 4 Years Ago
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.2K,
Visits: 4.3K
Work has been done to the line numbering logic since the 2.4.18 release. I have tested with multiple log files and line numbers appear to be working correctly in the latest release.
Another possible source for this issue is if the parser is not configured correctly. In this case, log entries may be joined together and you would see the line number reporting shown. When suggesting that the log entries span multiple lines, I mean the log entries as parsed by LogViewPlus. This might be worth checking before upgrading. If the problem is configuration related, an upgrade would not help.
If the above suggestions do not help to narrow the problem down, the next step would be for me to recreate the problem locally. Can you please send me a section of your log file which results in incorrect line numbering along with your parser configuration? You can
contact us
via email if that helps.
Thanks for reporting this issue,
Toby
Reply
Like
5
ahdung
ahdung
posted 4 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 7,
Visits: 8
open new file or reload file can't show problem, well, i'll try to upgrade, if have any news, i'll report to you. Thank you, have a good day.
Reply
Like
4
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
5
Similar Topics
Post Quoted Reply
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search