I'm using php:7.2-apache docker. I need to disable health check url login access log.
Based on this link, they mentioned about modifying the Customlog directive. I'm not concerned about the files that need to change the Customlog directive.
P粉6620895212024-04-07 14:06:12
You can use the CustomLog parameter in the apache conf file. Please look at the code below. If you are using centos, find inside /etc/httpd/conf.d/.
Options +SymLinksIfOwnerMatch ServerName global LogLevel error ErrorLog /var/www/html/logs/global-error.log CustomLog /var/www/html/logs/global-access.log combined DocumentRoot /var/www/html/global