##To configure log rotation:##
- Log in as root or use sudo to execute the following commands.
- Create a file called zendserver using a text editor and save it in /etc/logrotate.d/, with the following content:
/usr/local/zend/var/log/*.log {
size 5M
missingok
rotate 10
compress