Group: Forum Members
Posts: 7,
Visits: 16
|
Hello Toby,
The issue isnt a delay in displaying entries, but the entries not displaying at all no matter how long you wait until more entries are added in files.
In this case a really simple configuration is used - a pattern parser with the following arguments: %d{yyyy-MM-dd %H:mm:ss.fff} [%p] <%t> %m%n
An example to reproduce this: Start with a text file containing some entries. 2020-08-19 07:41:10.068 [INF] <1> Starting service... 2020-08-19 07:41:10.074 [INF] <1> Service started. Open file in LogViewPlus. Add a line (without newline / line break): 2020-08-19 07:41:10.068 [INF] <1> Test message 1. *This line probably already wont show, no matter if you wait. Add another line. 2020-08-19 07:42:00.000 [INF] <1> Test message 2. Both message 1 and message 2 will now show.
It seems it has to do with newline (%n) not being present, since it works otherwise if a newline is added after each entry, but this is not always the case in all log files. And why does it load the second entry with the first one then when no newline is present at the second entry also baffles me.
The issue with session is not consistently reproducible. The session start and end dates are correct though as long as you do not reload the file (if you reaload it, nothing goes into session view anymore and the date starts at jan 1. 00:00:00).
|