To set up forwarding to a remote server. Edit the file listed below and enter in the IP address of the server that you want to forward the logs to. Restarted syslogd after you edit the file to apply the new settings.

Notice that this specific rotate schedule has postrotate (/bin/kill -HUP `cat /usr/local/apache/logs/httpd.pid 2>/dev/null` 2> /dev/null || true). This is related to apache and will keep some sort of current log intact it seems (without postrotate you may see that the error log is rotated but a new error log file is not generated). You may need to use and option called "create" to create a new log file if you do not have a postrotate script in the rotate configuration file that you are creating. Test it out and make sure you have a log file. Some softwares or services may not generate a new log file if one does not exist.

then run "logrotate -f /etc/logrotate.d/apache". This will rotate and compress the existing logs. Logs will rotate weekly from that time on.