Skip to content

Commit

Permalink
Make app log longer
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Feb 12, 2024
1 parent 3f8083b commit d2cb696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Helpers/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void Cleanup()
try
{
var file = File.ReadAllLines(logFile);
int skip = Math.Max(0, file.Count() - 1000);
int skip = Math.Max(0, file.Count() - 2000);
File.WriteAllLines(logFile, file.Skip(skip).ToArray());
}
catch { }
Expand Down

0 comments on commit d2cb696

Please sign in to comment.