Firstly, in your dispatcher’s configuration for the gun-arrow script, be sure to define
stdout_logfile=/path/to/logfile.log redirect_stderr=true
This will cause stdout and stderr to go to the same file.
Now, on your machine gun script, be sure to call the process with the following argument
gunicorn YourWSGIModule:app --log-level=critical
source share