From 5aa104f9bab22bac537fdf20deefaccff1623640 Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Thu, 26 Jan 2012 11:43:02 -0600 Subject: [PATCH] Fixed typo in logger_class docs --- doc/htdocs/configure.html | 112 ++++++++++++++++++++------------------ doc/htdocs/css/index.css | 48 ++++++++-------- doc/htdocs/css/style.css | 48 ++++++++-------- gunicorn/config.py | 2 +- 4 files changed, 108 insertions(+), 102 deletions(-) diff --git a/doc/htdocs/configure.html b/doc/htdocs/configure.html index c4f5951b..a6430179 100644 --- a/doc/htdocs/configure.html +++ b/doc/htdocs/configure.html @@ -351,6 +351,14 @@ when handling HTTPS requests.

It is important that your front-end proxy configuration ensures that the headers defined here can not be passed directly from the client.

+
+

x_forwarded_for_header

+ +

Set the X-Forwarded-For header that identify the originating IP +address of the client connection to gunicorn via a proxy.

+

Logging

@@ -421,10 +429,7 @@ normal usages in logging. It provides error and access logging.

You can provide your own worker by giving gunicorn a python path to a subclass like gunicorn.glogging.Logger. Alternatively the syntax can also load the Logger class -with ``egg:gunicorn#simple`

-
-

System Message: WARNING/2 (<string>, line 442); backlink

-Inline literal start-string without end-string.
+with egg:gunicorn#simple

@@ -574,71 +579,72 @@ the just-exited Worker.

Contents

    -
  • Overview
  • -
  • Framework Settings
      -
    • Paster Applications
    • +
    • Overview
    • +
    • Framework Settings
    • -
    • Configuration File
    • -
    • Command Line
    • -
    • Settings
        -
      • Config File
          -
        • config
        • +
        • Configuration File
        • +
        • Command Line
        • +
        • Settings
            +
          • Config File
          • -
          • Server Socket
              -
            • bind
            • -
            • backlog
            • +
            • Server Socket
            • -
            • Worker Processes
                -
              • workers
              • -
              • worker_class
              • -
              • worker_connections
              • -
              • max_requests
              • -
              • timeout
              • -
              • keepalive
              • +
              • Worker Processes
              • -
              • Debugging
                  -
                • debug
                • -
                • spew
                • +
                • Debugging
                • -
                • Server Mechanics
                    -
                  • preload_app
                  • -
                  • daemon
                  • -
                  • pidfile
                  • -
                  • user
                  • -
                  • group
                  • -
                  • umask
                  • -
                  • tmp_upload_dir
                  • -
                  • secure_scheme_headers
                  • +
                  • Server Mechanics
                  • -
                  • Logging
                      -
                    • accesslog
                    • -
                    • access_log_format
                    • -
                    • errorlog
                    • -
                    • loglevel
                    • -
                    • logger_class
                    • +
                    • Logging
                    • -
                    • Process Naming
                        -
                      • proc_name
                      • -
                      • default_proc_name
                      • +
                      • Process Naming
                      • -
                      • Server Hooks diff --git a/doc/htdocs/css/index.css b/doc/htdocs/css/index.css index 37436a3b..3e7b4963 100644 --- a/doc/htdocs/css/index.css +++ b/doc/htdocs/css/index.css @@ -1,4 +1,4 @@ -/* line 17, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 17, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -20,45 +20,45 @@ time, mark, audio, video { vertical-align: baseline; } -/* line 20, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 20, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ body { line-height: 1; } -/* line 22, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 22, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ ol, ul { list-style: none; } -/* line 24, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 24, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ table { border-collapse: collapse; border-spacing: 0; } -/* line 26, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 26, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; } -/* line 28, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 28, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ q, blockquote { quotes: none; } -/* line 101, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 101, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; } -/* line 30, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 30, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ a img { border: none; } -/* line 114, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 114, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; } @@ -89,17 +89,17 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, width: 620px; } -/* line 4, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 4, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ body { font: 13px/1.5 Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; } -/* line 6, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 6, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ a:focus { outline: 1px dotted invert; } -/* line 8, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 8, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ hr { border-color: #cccccc; border-style: solid; @@ -108,52 +108,52 @@ hr { height: 0; } -/* line 14, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 14, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h1 { font-size: 25px; } -/* line 16, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 16, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h2 { font-size: 23px; } -/* line 18, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 18, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h3 { font-size: 21px; } -/* line 20, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 20, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h4 { font-size: 19px; } -/* line 22, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 22, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h5 { font-size: 17px; } -/* line 24, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 24, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h6 { font-size: 15px; } -/* line 26, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 26, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ ol { list-style: decimal; } -/* line 28, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 28, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ ul { list-style: square; } -/* line 30, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 30, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ li { margin-left: 30px; } -/* line 32, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 32, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ p, dl, hr, @@ -213,11 +213,11 @@ a, a:visited, a:hover, a:active { margin-right: 10px; list-style: none; } -/* line 11, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/utilities/../typography/lists/_bullets.scss */ +/* line 11, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/utilities/../typography/lists/_bullets.scss */ #menu ul li { list-style-image: none; list-style-type: none; - margin-left: 0px; + margin-left: 0; } /* line 49, ../../css/index.sass */ #menu ul li { diff --git a/doc/htdocs/css/style.css b/doc/htdocs/css/style.css index 7745e3af..0dc3a9eb 100644 --- a/doc/htdocs/css/style.css +++ b/doc/htdocs/css/style.css @@ -1,4 +1,4 @@ -/* line 17, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 17, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -20,45 +20,45 @@ time, mark, audio, video { vertical-align: baseline; } -/* line 20, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 20, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ body { line-height: 1; } -/* line 22, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 22, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ ol, ul { list-style: none; } -/* line 24, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 24, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ table { border-collapse: collapse; border-spacing: 0; } -/* line 26, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 26, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; } -/* line 28, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 28, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ q, blockquote { quotes: none; } -/* line 101, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 101, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; } -/* line 30, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 30, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ a img { border: none; } -/* line 114, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +/* line 114, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; } @@ -89,17 +89,17 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, width: 620px; } -/* line 4, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 4, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ body { font: 13px/1.5 Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; } -/* line 6, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 6, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ a:focus { outline: 1px dotted invert; } -/* line 8, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 8, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ hr { border-color: #cccccc; border-style: solid; @@ -108,52 +108,52 @@ hr { height: 0; } -/* line 14, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 14, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h1 { font-size: 25px; } -/* line 16, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 16, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h2 { font-size: 23px; } -/* line 18, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 18, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h3 { font-size: 21px; } -/* line 20, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 20, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h4 { font-size: 19px; } -/* line 22, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 22, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h5 { font-size: 17px; } -/* line 24, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 24, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ h6 { font-size: 15px; } -/* line 26, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 26, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ ol { list-style: decimal; } -/* line 28, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 28, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ ul { list-style: square; } -/* line 30, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 30, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ li { margin-left: 30px; } -/* line 32, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/stylesheets/960/_text.sass */ +/* line 32, /Library/Ruby/Gems/1.8/gems/compass-960-plugin-0.10.4/lib/../stylesheets/960/_text.sass */ p, dl, hr, @@ -213,11 +213,11 @@ a, a:visited, a:hover, a:active { margin-right: 10px; list-style: none; } -/* line 11, /Library/Ruby/Gems/1.8/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/utilities/../typography/lists/_bullets.scss */ +/* line 11, /Library/Ruby/Gems/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/utilities/../typography/lists/_bullets.scss */ #menu ul li { list-style-image: none; list-style-type: none; - margin-left: 0px; + margin-left: 0; } /* line 52, ../../css/style.sass */ #menu ul li { diff --git a/gunicorn/config.py b/gunicorn/config.py index bda1932a..f23df2b2 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -683,7 +683,7 @@ class LoggerClass(Setting): You can provide your own worker by giving gunicorn a python path to a subclass like gunicorn.glogging.Logger. Alternatively the syntax can also load the Logger class - with ``egg:gunicorn#simple` + with `egg:gunicorn#simple` """ class Procname(Setting):