Software >> Services >> HTTP Server >> Apache >> How to configure log rotation for Apache from XAMPP for Linux - LAMPPinstall 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 e.g.
Change it to
86400 is the duration in seconds to rotate the log i.e. in this case 1 day.
|