56 Commits

Author SHA1 Message Date
Mark Adams
b98205f896 Update documentation to indicate inotify requirement for reloader 2016-10-25 08:29:05 -05:00
Suriya Subramanian
34af3f8e92 Document that --access-logfile - writes to stdout 2016-07-28 12:54:58 +05:30
edgarcosta
2f0e99e71d timeout setting, what it means to be silent 2016-05-23 22:27:08 -04:00
Jan-Philip Gehrcke
66a07032ba docs: clarify that worker_exit hook runs *in* the worker 2016-05-11 13:36:31 +02:00
John Ryding
6a3bd70d2b Add gthread and gaiohttp to settings docs 2016-03-26 01:39:29 +02:00
bloodearnest
b05286e9ab Update docs - more explicit info on logger_class 2016-02-19 13:09:58 +00:00
bloodearnest
34b595e817 Always use the the user configured logger class.
Previously, configuring statsd_host would override the configured class
2016-02-19 13:09:58 +00:00
Zoltán Nagy
f1bb0342ec Clarify documentation of graceful_timeout 2015-11-02 08:49:13 +01:00
Randall Leeds
50a40b52b6 Merge pull request #1132 from bungoume/add-accesslog-params
Add accesslog params
2015-10-22 11:37:05 -07:00
y.umezaki
7dd8a53c8c Add accesslog params
Fix KeyError

Update access logger tests

Update settings.rst docs
2015-10-22 02:28:35 +09:00
umezaki
03cd031b06 Fix accesslog params description 2015-10-22 02:02:13 +09:00
Slava Shklyaev
0d86a9094d Improve markup of settings.rst 2015-07-15 04:10:15 +03:00
Mark Lee
a33f6ea602 Clarify pythonpath setting description
Show that setting multiple paths requires using a comma-separated list.
2015-07-12 18:13:17 -07:00
Slava Shklyaev
531133615e Prefix config file with its type 2015-07-08 09:21:32 +03:00
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