mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 01:23:57 +02:00
Adjust start position for log window
This commit is contained in:
parent
5b723fd08a
commit
a6dc3f9b41
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ ready = function() {
|
|||
|
||||
var stats = fs.statSync(cleanFilePath);
|
||||
var size = stats.size;
|
||||
var start = Math.max(0, size - (2500 * 50));
|
||||
var start = Math.max(0, size - (25000));
|
||||
console.log(cleanFilePath, size, start, maxLogLines);
|
||||
|
||||
var logTail = new Tail(cleanFilePath, '\n', { start: start, interval: 500 });
|
||||
|
|
Loading…
Reference in a new issue