- Feb 5, 2021
- cPanel Access Level
- Root Administrator
Is there any way to configure CustomLog so that Apache can continue to write everything to each domains' individual log file? If so, can someone just point me in the right direction to configure that? I know you can write them a single log file with:
Just confused on how to achieve this with cPanel. Would this require edits to the EA4 templates in /var/cpanel/template_compiles/var/cpanel/templates/apache2_4/?
SetEnvIf Request_URI "\.(jpg|xml|png|gif|ico|js|css|swf|js?.|css?.)$" var CustomLog /var/log/apache2/custom.log combined Env=!var