Ho un'applicazione web Django che utilizza Gunicorn e corre bene a livello locale, ma quando schiero app su EC2, vedo che Gunicorn sta fallendo:Come eseguire il debug dei problemi di errore di gunicorn? (Di lavoro non è fare il boot)
$ gunicorn_django -b 127.0.0.1:8000 --settings=myapp.settings.dev --debug --log-level info 2012-09-16 17:39:24 [28333] [INFO] Starting gunicorn 0.14.6 2012-09-16 17:39:24 [28333] [INFO] Listening at: http://127.0.0.1:8000 (28333) 2012-09-16 17:39:24 [28333] [INFO] Using worker: sync 2012-09-16 17:39:24 [28336] [INFO] Booting worker with pid: 28336 2012-09-16 17:39:24 [28336] [INFO] Worker exiting (pid: 28336) 2012-09-16 17:39:24 [28333] [INFO] Shutting down: Master 2012-09-16 17:39:24 [28333] [INFO] Reason: Worker failed to boot.
ho provato registrazione con --spew
ma continua a essere in esecuzione e non viene visualizzato alcun errore.
Come posso eseguire il debug di questo problema?
--debug è deprecato in gunicorn 19.0. Vedi http://gunicorn-docs.readthedocs.org/en/latest/news.html#id28. – alan
il collegamento aggiornato per deprecato è: http://gunicorn-docs.readthedocs.io/en/latest/2014-news.html#id7 –