diff --git a/src/Agent/NewRelic/Agent/Core/Logging/LoggerBootstrapper.cs b/src/Agent/NewRelic/Agent/Core/Logging/LoggerBootstrapper.cs index 34b5f211f..3438256c7 100644 --- a/src/Agent/NewRelic/Agent/Core/Logging/LoggerBootstrapper.cs +++ b/src/Agent/NewRelic/Agent/Core/Logging/LoggerBootstrapper.cs @@ -253,7 +253,7 @@ private static LoggerConfiguration ConfigureRollingLogSink(this LoggerConfigurat fileSizeLimitBytes: 50 * 1024 * 1024, encoding: Encoding.UTF8, rollOnFileSizeLimit: true, - retainedFileCountLimit: null, // unlimited number of files + retainedFileCountLimit: 4, // TODO: Will make configurable shared: true, buffered: false );