s2i-php-container icon indicating copy to clipboard operation
s2i-php-container copied to clipboard

Question: How to disable logging for healthcheck

Open gautamkrishnar opened this issue 4 years ago • 0 comments

As of now, I have a healthcheck.php that is generating lots of access logs on my server. This script file is used by the Liveness and Readiness pods. How can we disable this behavior by editing the Apache configuration?. I can't find a reliable way to do this in s2i PHP docs. In docs, it is mentioned that we will be able to add .htaccess file to modify the configuration, but not all apache configs can be changed via .htaccess.

gautamkrishnar avatar Aug 24 '20 07:08 gautamkrishnar