OPNsense Forum
English Forums => General Discussion => Topic started by: tuatara on October 13, 2022, 01:12:58 pm
-
Directly after the last update to (now 22.7.6 ) I've noticed that:
Firewall,Log Files, Live View, no longer works as before.
In the past I was able to select 50 or 100 to see that last number of lines.
But now the content disappears before at reaches that number.
Of course I've tried multiple browsers, but the effect is the same.
Is this a known issue, was it introduced by the last PHP updates perhaps ?
Thanks in advance
Tuatara
-
Hi Tuatara,
Looks like there is a race happening in the JS causing the log feed to not update to the new limit.
This doesn't always happen and only for the auto-update. In most cases it's enough to switch back to the limit from another one to fix it. Though what you miss is just what you've seen before, not accounting for the new historical count you want... it's just a forward log in these cases and no new log entry is being missed.
We are working on it, but not sure what the best fix is just yet.
Cheers,
Franco
-
Hi Franco,
Thanks for your response.
I am a bit confused and not sure if we are talking about the same situation.
So maybe I misunderstood your response...
Just to be sure:
What you described seems what I've seen before. But after the update things changed.
What happens now, is that even without auto-refresh it removes lines from the screen that should have stayed there. And with auto-refresh and the same number of lines selected let's say 100.
You will see 50 lines, screen refresh , 10 lines, screen refresh 30 lines etc. etc.
So manual refresh will not always show the selected number of lines as well.
The issue now is that I am not able to see the last 100 of lines whatever I select.
-
Let's try the patch first to see if we talk about the same thing or not. My interpretation could be wrong also.
https://github.com/opnsense/core/commit/c730ce20234
# opnsense-patch c730ce20234
(needs a live log page refresh from the browser)
Cheers,
Franco
-
ping ;)