• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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