logrotate question

I am getting this system message:

/etc/cron.daily/logrotate:

error: rsync:7 unknown option 'endscript' -- ignoring line

I don't find anything related to rsync in the logrotate.conf file, so I am unsure as to how to resolve this and stop this message.

Thanks.

Check in /etc/logrotate.d, maybe a rsync-related config has been installed there.