mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #190] Option to change _linesLimit on browser side #125
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#125
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Rom1deTroyes on GitHub (Dec 11, 2019).
Original GitHub issue: https://github.com/mthenw/frontail/issues/190
When I get back to my browser after a night of log scrolling, only the 2000 last line are present, so the logs between 18:30 and 23:00 where lost.
In app.js we got :
redefined in init() by :
And the first line is removed if we reach the limit in the
log()function :On my system (Firefox Developper Edition 71.0b5 (64 bits) on Win10),
Math.Infinityis undefinedBut _linesLimit is set to 2000 by the socket.io init stuff :

As I don't have access to the server side of frontail, but my desktop is capable to display billions of lines, is there a way to change this behaviour without hacking ?
@mthenw commented on GitHub (Apr 13, 2020):
I don't think so. Changing this in the frontend is tricky. I will mark it as a feature.