IraDialer automatically purges log files which are older than 30 days. The ensures that the server disk space does not fill up over time.
However, in load testing sites, it might be practical to purge log files sooner since it will grow very fast due to the high volume of calls being handled. The instructions below help to configure the same.
Debian
Run the following command to edit the cron job.
sudo nano /etc/cron.d/epi_log_cleanup
It will have the following content by default:
0 1 * * * root find /opt/epi/log/* -mtime +30 -type f -delete
The above instructs the crontab to delete files which are older than 30 days. If you wish to only retain log files for 5 days instead of the default 30 days, you can change the number 30 to 5. The File content should be as below:
0 1 * * * root find /opt/epi/log/* -mtime +5 -type f -delete
Save the file (Press Ctrl + X. Press Y and then Press Enter/Return key)