From bf52b04ca3e99d04b3a54856526ae20afa2d7f7b Mon Sep 17 00:00:00 2001 From: Eric Juma Date: Thu, 2 Mar 2017 15:33:41 -0500 Subject: [PATCH] Fix UWSGI logging to stderr All of uwsgi's logs were going to stderr, while the python logs were going to stdout. This caused redirection to be unintuitive by only redirecting the python logs. This change makes all output stdout instead of it being split half and half with stderr even though there were no errors. Change-Id: I825dee6f57eebec154b6a57a4450442bf9151978 --- run_proxy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/run_proxy.sh b/run_proxy.sh index ce95949..e5fa53a 100755 --- a/run_proxy.sh +++ b/run_proxy.sh @@ -5,5 +5,6 @@ uwsgi --socket 0.0.0.0:5001 \ --http-chunked-input \ -w mixmatch.wsgi \ --master \ - --processes 4 \ - --threads 2 + --processes 8 \ + --threads 1 \ + 2>&1