Disable nginx access log using supervisor in docker

I cannot seem to disable access logs from nginx outputting on docker stdout (showing in docker logs <container>) This is my Dockerfile FROM php:7.3.11-fpm-alpine as base WORKDIR /var/www # Use the default production configuration RUN cp “$PHP_INI_DIR/php.ini-production” “$PHP_INI_DIR/php.ini” #Â Install dependencies RUN set -xe \ && apk add –no-cache bash icu-dev \ && apk add…

Details

Having two different handlers for logging in python logging module

I am trying to have two different handlers where one handler will print the logs on console and other different handler will print the logs on console. Conslole handler is given by one inbuilt python modbus-tk library and I have written my own file handlers. LOG = utils.create_logger(name=”console”, record_format=”%(message)s”) . —> This is from modbus-tk…

Details