From 45973ef12e883d2c3516fc387fac0a0271cabc7f Mon Sep 17 00:00:00 2001 From: Mihai Coman Date: Sat, 9 Nov 2024 00:26:05 +0200 Subject: [PATCH] disable domain-validator logs Explicitly use NONE value for stdout_logfile and stderr_logfile to disable domain-validator logs. Accoring to supervisord documentation, if stdout_logfile/stderr_logfile is unset or set to AUTO, supervisor will automatically choose a file location. If this is set to NONE, supervisord will create no log file. Signed-off-by: Mihai Coman --- Containers/mastercontainer/supervisord.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Containers/mastercontainer/supervisord.conf b/Containers/mastercontainer/supervisord.conf index f64c9725..022daa3b 100644 --- a/Containers/mastercontainer/supervisord.conf +++ b/Containers/mastercontainer/supervisord.conf @@ -58,9 +58,7 @@ user=root [program:domain-validator] # Logging is disabled as otherwise all attempts will be logged which spams the logs -# stdout_logfile=/dev/stdout -# stdout_logfile_maxbytes=0 -# stderr_logfile=/dev/stderr -# stderr_logfile_maxbytes=0 +stdout_logfile=NONE +stderr_logfile=NONE command=php -S 127.0.0.1:9876 /var/www/docker-aio/php/domain-validator.php user=www-data