You are not logged in.
Pages: 1
Hi Arnaud,
today we had this Problem:
TSynLog.Family.RotateFileCount := 100
TSynLog.Family.RotateFileSizeKB := 500MB
TSynLog.Family.RotateFileDailyAtHour := 23
LogSize : 946MB
And 100 Files Created each containing the Log with some few lines added
It seems that the Log is not truncated / deleted after creating the synlz
so that every synlz contains the Log beginning at the same Line but enhanced with some newly added rows.
After restarting the Service everything runs as expected
Any Idea ?
Last edited by itSDS (2024-08-27 12:27:09)
Rad Studio 12.2 Athens
Offline
Hi Arnaud, what do you mean ?
You need more details ?
The Problem occours not very often !
Rad Studio 12.2 Athens
Offline
Hi Arnaud, here a some screens from the Logs, may be you understand now what i mean
I think there is a Problem in TSynLog.PerformRotation, May be the File can not be deleted or something else
Rad Studio 12.2 Athens
Offline
In this case its 1000M but get same with 500M
The Content of the Log is nearly the same Just some lines added from file to file..
Last edited by itSDS (2024-09-03 19:11:06)
Rad Studio 12.2 Athens
Offline
Sorry its
500*1024
or
1000*1024
Rad Studio 12.2 Athens
Offline
Hi Arnaud, today we had this Problem again, consuming also a lot of cpu cycles in the service with the Log - Problem.
I found out, that on the server running the logs, Microsoft defender was scanning the logs.
Is this a possible Reason for the Problem?
I deaktivated the Defender - Scan for our Log/Service directories.
I will report if Problem has gone or not
Last edited by itSDS (2025-03-13 11:33:28)
Rad Studio 12.2 Athens
Offline
I was just looking fpr a reason, that the Log Files behave the described way.
The Problem is, if the BUG occurs, the Service seems to hang for the connected clients
Rad Studio 12.2 Athens
Offline
Pages: 1