Browse Source

Logging fix

pull/28/head
Jure Šorn 5 years ago
parent
commit
b14d5c22c1
1 changed files with 2 additions and 2 deletions
  1. 4
      README.md

4
README.md

@ -1679,7 +1679,7 @@ rotation=<int>|<datetime.timedelta>|<datetime.time>|<str>
* **`'<int>'` - Max file size in bytes.**
* **`'<timedelta>'` - Max age of a file.**
* **`'<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
**Sets a condition which old log files are deleted.**
@ -1688,7 +1688,7 @@ retention=<int>|<datetime.timedelta>|<str>
```
* **`'<int>'` - Max number of files.**
* **`'<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
**Sets how inactive log files are compressed.**

Loading…
Cancel
Save