The maximum integer number is not correctly calculated if the path to the logfile directory contains digit(s). The code GetFileName() should be changed to:
public string GetFileName(string fileName, LoggerSeverity severity, DateTime timestamp, object entry, object[] formatParameters, string logLine)
{
...
int foundNumber = StringUtilities.ExtractFirstNumber(Path.GetFileName(foundFile));
...
}