From cbbd4965d7ccf0ad295ac7a5341fed23c1cf59d5 Mon Sep 17 00:00:00 2001 From: "Turrican (E. Fuentes)" Date: Tue, 17 Dec 2024 16:53:50 +0100 Subject: [PATCH] Revert "fixing LogFileProvider not starting" This reverts commit c55c4483fd23c6df68a36ee111f62e44f1baff7b. --- Quick.Logger.Provider.Files.pas | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Quick.Logger.Provider.Files.pas b/Quick.Logger.Provider.Files.pas index 9cb44ab..426bc92 100644 --- a/Quick.Logger.Provider.Files.pas +++ b/Quick.Logger.Provider.Files.pas @@ -344,11 +344,7 @@ function TLogFileProvider.GetLogFileBackup(cNumBackup: Integer; zipped: Boolean) // Doing this twice to be backward compatible independent if the numbackup is formatted or not for i := 0 to 1 do begin - if DailyRotate then - Result := CalcRotateLogFileName (cNumBackup, '*', zipped, i = 0) - else - Result := CalcRotateLogFileName (cNumBackup, '', zipped, i = 0); - + Result := CalcRotateLogFileName (cNumBackup, '*', zipped, i = 0); if findfirst (Result, faAnyFile, SearchRec) = 0 then Result := TPath.GetDirectoryName (Result) + PathDelim + SearchRec.Name else