mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-17 05:06:55 +02:00
0d4c2da0bc
* Logrotate file for rotating logs in /var/log/onedrive * Sample spec file to build onedrive client on RHEL/CentOS systems via mock
21 lines
386 B
Plaintext
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
|
|
} |