Rclone and logrotate


#1

Hi, a bit on the side, but I’m having problems with big log files, and would like to use logrotate to solve that issue.

I have set up log rotate to rotate files, and that works fine. The problem is that the new file is not written to. rclone is running fine, but it’s not writing logs anywhere.

The logfile is located on a NFS mounted path.

This is my logrotate conf:

/path/to/rclone.log {
  rotate 7
  daily
  compress
  missingok
  notifempty
}

Any idea how to solve this?


#2

rclone doesn’t work with logrotate at the moment. If you make a new issue on github then I can look into it.


#3

Thanks for the reply.

I made a new issue here: https://github.com/ncw/rclone/issues/2259