rotate custom logfile if defined

Current log file rotate job only works for owncloud.log in data directory. If logfile is set in config to another path it doesn't get rotated and errors get logged making the file even larger.