abraunegg-onedrive/logrotate/onedrive.logrotate
abraunegg 0d4c2da0bc Add sample logrotate and spec file
* Logrotate file for rotating logs in /var/log/onedrive
* Sample spec file to build onedrive client on RHEL/CentOS systems via
mock
2018-04-13 21:19:25 +10:00

21 lines
386 B
Plaintext

# Any OneDrive Client logs configured for here
/var/log/onedrive/*log {
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# use date as a suffix of the rotated file
dateext
# compress the log files
compress
# missing files OK
missingok
}