42 Commits

Author SHA1 Message Date
Berker Peksag
5a8b9555da Tweak markup of the sendfile documentation a bit. 2015-05-29 06:52:19 +03:00
Berker Peksag
33bcd59092 Generate the settings document after 11ee135b40439259816b2764679249323a489ca9. 2015-05-29 06:48:33 +03:00
Berker Peksag
d49d40097a Combine logging section in gunicorn/config.py.
Fixes #969.
2015-01-26 18:56:49 +02:00
Berker Peksag
963a677f31 Fix settings reference. 2014-12-01 07:04:57 +02:00
Berker Peksag
f0b9468ea3 Document statsd_* commands. 2014-12-01 07:04:10 +02:00
BFriedland
05c6977122 Fixed typos 2014-11-22 14:18:56 -08:00
Berker Peksag
c152ce0dd0 Add a versionadded directive to the sendfile documentation. 2014-10-20 20:17:30 +03:00
Menghan
51bd1b12a1 remove option --debug and update documents 2014-10-17 11:40:03 +08:00
Berker Peksag
8b83a285cd Tweak max_requests_jitter docs a bit.
- Added a versionadded directive
- Added a news item
2014-10-03 16:42:12 +03:00
Jason Harvey
94d931956e Add documentation for max_requests_jitter. 2014-10-03 16:33:36 +03:00
Berker Peksag
5536a5fd73 Add documentation about gunicorn/config.py.
Fixes #896.
2014-09-23 10:31:35 +03:00
benoitc
7f0c7c56e3 next version is 19.2
next version is 19.2. Also fix the setting.rst, regenerate it from
config.py .
2014-09-22 15:03:16 +02:00
Collin Anderson
7be15d6334 Log to console by default. #832
Version 19 removed any logging by default. This logs everything to the
console by default.
2014-09-21 21:48:42 -04:00
Augustus D'Souza
a1c078e125 Fixed typo 2014-09-16 09:21:28 +05:30
Collin Anderson
0f15afdded merged the two Logging sections 2014-09-15 22:35:02 -04:00
Collin Anderson
03fbe9429d clean whitespace 2014-09-10 09:52:12 -04:00
Berker Peksag
9adf12282f Document the statsd_host option. 2014-08-18 17:47:19 +03:00
Thomas Grainger
2bde8eb103 Support loading config from module 2014-06-20 09:20:37 +01:00
Andrew Burdo
ed2d2a8ab3 Change the rest of QUIT and TERM signals.
This will restore graceful shutdown of workers by master.
Also worker_int callback is moved from handle_exit (INT and TERM before switching) to handle_quit(INT and QUIT).
2014-06-13 14:32:11 +03:00
benoitc
0fee3e5db2 update doc for the new workers 2014-06-12 14:50:22 +02:00
benoitc
c996deaf23 fix doc 2014-06-12 14:43:06 +02:00
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