Robuta

https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.eventlog.modifyoverflowpolicy?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-9.0 EventLog.ModifyOverflowPolicy(OverflowAction, Int32) Method (System.Diagnostics) | Microsoft Learn Changes the configured behavior for writing new entries when the event log reaches its maximum file size. system diagnosticseventlogmethodmicrosoftlearn