mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-15 20:25:18 +02:00
ec3573ea1d
* Add directive in config file to tell logrotate which user/group should be used for rotation
24 lines
443 B
Plaintext
24 lines
443 B
Plaintext
# Any OneDrive Client logs configured for here
|
|
|
|
/var/log/onedrive/*log {
|
|
# What user / group should logrotate use?
|
|
su root users
|
|
|
|
# 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
|
|
} |