When the signal.siginterrupt call is available it can be used to make interrupted system calls (errno == EINTR) retry transparently whenever they have not caused any side effects yet (e.g. no data read/written). It should make shutdown more graceful. Patch by Jonas Borgström
fix issue #250. Thanks!
- make log access format customizable in settings: - fix logger To setup a log format use the --access-logformat option. By default: %(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" h: remote address t: date of the request r: status line (ex: GET / HTTP/1.1) s: status b: response length or '-' f: referer a: user agent T: request time in seconds D: request time in microseconds You can also pass any WSGI request header as a parameter. (ex '%(HTTP_HOST)s').
giving to gunicorn an entry point or a module path.
and also wasn't working everywhere. This patch wrap the function if arity != 3 so we don't have to test its arity each time we use it.
…n't have LOGGING_CONFIG
setting self.LISTENER to None is not enough because self.WORKERS also have references to it
the possibility to manage an access log compatible with apache combined log format. reopening files is also handled. Also, this change fix issues #237 and #190. For the sake of simplicity logging file have been removed --logfile option has become --error-logfile, by default "-" Following options have been added: --access-logfile, the access log file path. By default None. If set access logs will bre written to defined output eg: $ gunicorn -w3 --access-logfile=- test:app 2011-08-21 19:36:52  [INFO] Starting gunicorn 0.13.0 2011-08-21 19:36:52  [INFO] Listening at: http://127.0.0.1:8000 (84572) 2011-08-21 19:36:52  [INFO] Using worker: sync 2011-08-21 19:36:52  [INFO] Booting worker with pid: 84573 2011-08-21 19:36:52  [INFO] Booting worker with pid: 84574 2011-08-21 19:36:52  [INFO] Booting worker with pid: 84575 127.0.0.1 - - [21/Aug/2011:19:37:04] "GET / HTTP/1.1" 200 14 "-" "curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5"