-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File.Appender error? #64
Comments
Duplicate of #61 |
luebbe
added a commit
to luebbe/loggerpro
that referenced
this issue
Dec 14, 2022
@danieleteti can you close the two issues please? I don't have the permissions to do so. |
@danieleteti and @luebbe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, in LoggerPro.FileAppender.pas in the constructor procedure
I think there is an error in the line
fMaxBackupFileCount:= Min(1, aMaxBackupFileCount);
in this case fMaxBackupFileCount can never be higher than 1.
I think it is more correct:
fMaxBackupFileCount:= Max(1, aMaxBackupFileCount);
thanks a lot for this library.
The text was updated successfully, but these errors were encountered: