|
@ -1679,7 +1679,7 @@ rotation=<int>|<datetime.timedelta>|<datetime.time>|<str> |
|
|
* **`'<int>'` - Max file size in bytes.** |
|
|
* **`'<int>'` - Max file size in bytes.** |
|
|
* **`'<timedelta>'` - Max age of a file.** |
|
|
* **`'<timedelta>'` - Max age of a file.** |
|
|
* **`'<time>'` - Time of day.** |
|
|
* **`'<time>'` - Time of day.** |
|
|
* **`'<str>'` - Any of above as string: `'100 MB'`, `'0.5 GB'`, `'1 month 2 weeks'`, `'4 days'`, `'10h'`, `'monthly'`, `'18:00'`, `'sunday'`, `'w0'`, `'monday at 12:00'`, ...** |
|
|
|
|
|
|
|
|
* **`'<str>'` - Any of above as a string: `'100 MB'`, `'0.5 GB'`, `'1 month 2 weeks'`, `'4 days'`, `'10h'`, `'monthly'`, `'18:00'`, `'sunday'`, `'w0'`, `'monday at 12:00'`, ...** |
|
|
|
|
|
|
|
|
### Retention |
|
|
### Retention |
|
|
**Sets a condition which old log files are deleted.** |
|
|
**Sets a condition which old log files are deleted.** |
|
@ -1688,7 +1688,7 @@ retention=<int>|<datetime.timedelta>|<str> |
|
|
``` |
|
|
``` |
|
|
* **`'<int>'` - Max number of files.** |
|
|
* **`'<int>'` - Max number of files.** |
|
|
* **`'<timedelta>'` - Max age of a file.** |
|
|
* **`'<timedelta>'` - Max age of a file.** |
|
|
* **`'<str>'` - Max age as string: `'1 week, 3 days'`, `'2 months'`, ...** |
|
|
|
|
|
|
|
|
* **`'<str>'` - Max age as a string: `'1 week, 3 days'`, `'2 months'`, ...** |
|
|
|
|
|
|
|
|
### Compression |
|
|
### Compression |
|
|
**Sets how inactive log files are compressed.** |
|
|
**Sets how inactive log files are compressed.** |
|
|