Software >> Services >> HTTP Server >> Apache >> How to configure log rotation for Apache from XAMPP for Linux - LAMPP
install directory is /opt/lampp
conf directory is /opt/lampp/etc
for virtual server with configuration file in /opt/lampp/etc/extra/httpd-vhosts.conf
edit this file and look fo the statements defining the ErrorLog and CustomLog for that virtual host
Change it to
86400 is the duration in seconds to rotate the log i.e. in this case 1 day.