Duplicate entries

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Duplicate entries

eeeg
Hi! I'm using Log4View 1.6.2.1674 on a NLog-generated text file (Windows 10 Pro 22H2).
Sometimes in a live session some entries will be logged twice:



This is the text in the log:



This seems to happen when the entries are written too quickly in the log.

If I close the file and re-open it again the duplicated entry is gone.
Reply | Threaded
Open this post in threaded view
|

Re: Duplicate entries

Ulrich
Administrator
Hi,

please check our latest Release Candidate and let me know, if the problem persists.
https://www.log4view.com/fileadmin/redaktion/log4view/Log4ViewSetup_2.0.9_RC.exe

Best wishes

Ulrich
Reply | Threaded
Open this post in threaded view
|

Re: Duplicate entries

eeeg
It is much worse with this release, is happens much more often:

Reply | Threaded
Open this post in threaded view
|

Re: Duplicate entries

Ulrich
Administrator
Can you please give me the following information:
- Which kind of text file? Pattern, XML, Json
- In case of pattern: which pattern?
- How many messages (roundabout) per minute?
- Which CPU are you using?
- To which kind of hard disk are you writing the log file?
Reply | Threaded
Open this post in threaded view
|

Re: Duplicate entries

eeeg
Ulrich wrote
Can you please give me the following information:
- Which kind of text file? Pattern, XML, Json
  Pattern
- In case of pattern: which pattern?
  ${longdate} ${level} ${logger} ${exception} ${message}
- How many messages (roundabout) per minute?
  ~170 entries per minute, but the problem only appears when there are multiples entries logged at the same time (Nlog buffers a bit).
- Which CPU are you using?
  i7-12700k
- To which kind of hard disk are you writing the log file?
  SSD (Samsung 980 PRO)
Reply | Threaded
Open this post in threaded view
|

Re: Duplicate entries

Ulrich
Administrator
Hi,

we have released Log4View 2.0.12 which can be downloaded here.

It’s now based on .NET 6 LTS with significant speed improvements and a lot of bug fixes. We also found the reason for the duplicate entries and fixed it.
Please try the new release and let me know if you have further problems.

Ulrich