Skip to content

Commit 41eef7b

Browse files
authored
fix: Reinstate max number of log files. (#1930)
1 parent c6c921a commit 41eef7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)