2021-06-12 11:41:14 +00:00
|
|
|
# AutomaticLogDeleter
|
|
|
|
Deletes old server logs automatically
|
2021-06-12 12:15:34 +00:00
|
|
|
# Config
|
|
|
|
```yaml
|
|
|
|
#AutomaticLogDeleter plugin config
|
|
|
|
#lines that start with a hashtag are comments
|
|
|
|
#delete logs older than 24 hours by default
|
|
|
|
#you can set it to -1 to simply delete all logs
|
|
|
|
#default value: 86400
|
|
|
|
delete-logs-older-than-seconds: 86400
|
|
|
|
|
|
|
|
#by default old logs are deleted only on startup
|
|
|
|
#default value: false
|
|
|
|
also-delete-logs-on-shutdown: false
|
|
|
|
```
|