• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Disable CustomLog in Vhost Apache Settings

Tobias04

New Pleskian
I am trying to disable CustomLog (access_log) for my domain by adding an additional apache setting on plesk as described in this guide.
I have added the following setting:

Code:
CustomLog /dev/null plesklog

Unfortunately, this setting doesn't seem to override the default setting as set in /var/www/vhosts/system/DOMAIN/httpd_ip_default.conf
When I change the setting directly in this (temporary) file, it works - but by using the recommended vhost.conf file, it doesn't override it.

The vhost.conf file is properly created upon adding the setting in Plesk and it is also included in the httpd_ip_default conf file. It doesn't override it, though.

Thanks for your help in advance!
 
Thank you, that finally made it work!
I do have to point out, though, that a simple "httpdmng --reconfigure-domain <domain>" call didn't work (command not found).
After some research I found out that this command solves the issue:
Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain <domain>
 
Back
Top