Skip to content

Commit a8c3ce8

Browse files
committed
fix: Reinstate max number of log files.
1 parent c6c921a commit a8c3ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Agent/NewRelic/Agent/Core/Logging/LoggerBootstrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ private static LoggerConfiguration ConfigureRollingLogSink(this LoggerConfigurat
253253
fileSizeLimitBytes: 50 * 1024 * 1024,
254254
encoding: Encoding.UTF8,
255255
rollOnFileSizeLimit: true,
256-
retainedFileCountLimit: null, // unlimited number of files
256+
retainedFileCountLimit: 4, // TODO: Will make configurable
257257
shared: true,
258258
buffered: false
259259
);

0 commit comments

Comments
 (0)