21 Commits

Author SHA1 Message Date
benoitc
5e8eeadc44 sync documentation
generally speakiing people shouldn't update the settings.rst but make
sure that settings.p is correctly filled.
2014-06-01 09:59:29 +02:00
Ben Oswald
9ade14ae78 add on_exit hook 2014-06-01 09:53:36 +02:00
Berker Peksag
ecdae40c68 Sync settings documentation with gunicorn/config.py. 2014-05-18 03:01:18 +03:00
Berker Peksag
39dbe983c3 Fix markup of the access_log_format documentation. 2014-05-18 02:02:33 +03:00
Benoit Chesneau
3bf6d0e770 Merge pull request #719 from bobzilladev/access-timing
Fix microseconds logging, add decimal seconds.
2014-04-13 09:53:25 +02:00
Sébastien Fievet
ce3f9e18bb Typo 2014-04-01 11:18:03 +02:00
Bob Hagemann
5361fff766 Fix microseconds logging, add decimal seconds.
Apache will log %D microseconds over 1 million for requests that take over a second, this change sync's that access log behavior since the formatting seems to be based on that. So a request that takes 1 second and 30 milliseconds will have 1000030 for this atom.

This pull request  also adds a %L atom for decimal seconds for a quick human-readable latency number. In the above example it would output 1.000030 to the log.
2014-03-27 11:33:16 -07:00
W. Trevor King
2277901a72 Deprecate the --debug setting
"Limits the number of worker processes to 1" hasn't been true since
06a4dc6 (fix one error in gunicorn_paster, global conf was ignored,
2010-06-22), although it was true when the line was added in 3c7d532
(Large refactor of the documentation and website, 2010-05-22).

"changes some error handling that's sent to clients" hasn't been true
since feb86d3 (don't display the traceback in the HTTP response,
2013-09-27).

The only remaining actions that --debug had were disabling --preload
and hiding debug-level config logging.  The former seems useless (just
disable --preload directly) and the latter at doesn't seem useful
enough for a new setting (just turn down --log-level).  With this
commit, --preload always works and you always get debug-level config
logging.

I left a stub Debug entry in gunicorn.config, which we can leave in
place while folks convert any gunicorn scripts and configurations to
drop --debug.  When the time comes, we can just remove that entry.  I
also the boolean-config tests to use --preload, since that will still
be around after we remove the dummy Debug entry.

Fixes #700.
2014-02-13 12:40:41 -08:00
Rik
80198278ce Update settings.rst
Gevent version should be 0.13 at least, since Gunicorn needs the gevent.server support (also see: http://blog.gevent.org/2010/07/14/gevent-0-13-0-released/)
2014-02-04 10:11:16 +01:00
Randall Leeds
f375f929de Regenerate settings.rst 2014-01-30 16:50:08 -08:00
benoitc
26a2e104cf fix typo 2013-12-26 13:54:35 +01:00
benoitc
f7d9979d5b fix doc for rtd 2013-12-26 13:42:17 +01:00
benoitc
77a30d3671 ease the doc. test with the default rtd theme 2013-12-26 13:19:36 +01:00
benoitc
5ff75b194c regenerate settings 2013-09-26 22:50:16 +02:00
Randall Leeds
e6c120ffea Merge pull request #552 from niedbalski/master 2013-06-23 10:56:25 -07:00
Jorge Niedbalski
cf6e765323 [gunicorn] added ``gunicorn.conf.py`` as default in case of no -c is specified 2013-06-21 15:30:31 -03:00
Philip Cristiano
dcfe825346 Rename post_init for greater clarity
Makes sense if you saw what it does, less if you just read the config option.
2013-06-20 19:40:03 -04:00
Philip Cristiano
ef6f831971 Add docs for post_init 2013-06-20 18:56:37 -04:00
benoitc
9fb0d9669c expose --pythonpath command to all modes . fix #433
--pythonpath may also be useful in other commands, so expose it to all.
2012-11-07 09:52:49 +01:00
benoitc
8e8a3a3f70 use relative bin path 2012-10-18 17:21:14 +02:00
Prateek Singh Paudel
a7b13d8ae1 Sphinx extension to generate settings doc.
Include gunicorn_ext.py in conf.py. Include the generated
settings.rst in configuration.rst.

Get the version number for doc from gunicorn.__version__
2012-10-03 17:45:41 +05:45