Skip to content

Commit e420a36

Browse files
authored
Small clarification of size limiting behavior [skip ci]
1 parent 36381f6 commit e420a36

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ log20180702.txt
3030
3131
### Limits
3232

33-
To avoid bringing down apps with runaway disk usage the file sink **limits file size to 1GB by default**. The limit can be increased or removed using the `fileSizeLimitBytes` parameter.
33+
To avoid bringing down apps with runaway disk usage the file sink **limits file size to 1GB by default**. Once the limit is reached, no further events will be written until the next roll point (see also: [Rolling policies](#rolling-policies) below).
34+
35+
The limit can be changed or removed using the `fileSizeLimitBytes` parameter.
3436

3537
```csharp
3638
.WriteTo.File("log.txt", fileSizeLimitBytes: null)
37-
```
39+
```
3840

3941
For the same reason, only **the most recent 31 files** are retained by default (i.e. one long month). To change or remove this limit, pass the `retainedFileCountLimit` parameter.
4042

0 commit comments

Comments
 (0)