Increase the number of max lines for logging
authorThomas
Fri, 16 Dec 2016 12:10:54 +0100
changeset 1528d6496ec41718
parent 1527 80f157f8c448
child 1529 a0670373f5b4
Increase the number of max lines for logging
Log.cs
     1.1 --- a/Log.cs	Thu Dec 15 16:25:58 2016 +0100
     1.2 +++ b/Log.cs	Fri Dec 16 12:10:54 2016 +0100
     1.3 @@ -9,8 +9,8 @@
     1.4      internal class Log
     1.5      {
     1.6          private const string LOG_FILE_NAME        = "log.txt";
     1.7 -        private const int    LOG_LINES_TO_REPLACE = 50;        // The number of lines to replace when the log file gets cleaned up
     1.8 -        private const int    LOG_MAX_LINES        = 1000;      // The maximum lines a log file can reach before the first lines get replaced (FIFO)
     1.9 +        private const int    LOG_LINES_TO_REPLACE = 100;        // The number of lines to replace when the log file gets cleaned up
    1.10 +        private const int    LOG_MAX_LINES        = 5000;      // The maximum lines a log file can reach before the first lines get replaced (FIFO)
    1.11  
    1.12          private static int          logLineCount = 0;
    1.13          private static StreamWriter logWriter    = null;