Good question, After spending lot of time on this I ended up writing a PS script and schedule it to delete files older then 3 days. AFAIR there are two folder that grow unexpectedly with no clean up option. I was able to stop logs generation by stopping the "Data Collector Set" called "Fabric Counters" in performance monitor but it will start again after the reboot, so not a permanent solution for this.
Service Fabric (SF) Log filesare increasing insize
Unexpected behavior SharePoint 2019 server related to trace log on C:\ProgramData\SF\Log\Traces the amount of log is increasing continuously without stop. Or Issue with Fabric trace log taking excessive Drive Space. The directory "C:/ProgramData\SF\Log\Traces" taking up GBs is taking up GBs worth of data because ETL files are continually generating after hitting 128mb. Microsoft Azure Service Fabric logs taking fabric trace logs taking excessive Drive Space- (" C:\ProgramData\SF\Log\Traces") Con you please advice me permanent fixes of this issue.
2 answers
Sort by: Most helpful
-
-
Luis Rodrigo Charnichart Cedillo 0 Reputation points
2024-03-19T18:41:52.8633333+00:00 You can stop the service in Performance Monitor window in Data Collector Sets Folder
https://www.incworx.com/blog/unrestricted-sharepoint-logs-the-silent-killer