Permalink
Commits on Sep 15, 2011
  1. Revert "USR1 signal handling to reopen log files fixed"

    vannitotaro committed Sep 15, 2011
    This reverts commit 8654697.
Commits on Sep 12, 2011
  1. typo. fix issue #252.

    benoitc committed Sep 12, 2011
Commits on Sep 9, 2011
  1. fix logging in sync worker

    benoitc committed Sep 9, 2011
Commits on Sep 8, 2011
  1. - add request time support in log access

    benoitc committed Sep 8, 2011
    - 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').
  2. make the Logger pluggable. Allows people to use their own logger by

    benoitc committed Sep 8, 2011
    giving to gunicorn an entry point or a module path.
  3. fix issue #244. lats change in post_request arity was breaking some apps

    benoitc committed Sep 8, 2011
    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.
  4. add Chris Lamb to THANKS

    Randall Leeds committed Sep 8, 2011
  5. Merge pull request #248 from lamby/master

    tilgovi committed Sep 8, 2011
    Add Debian installation instructions.
    
    Thanks Chris Lamb
  6. fix #236 - drop debian packaging dir

    Randall Leeds committed Sep 8, 2011
Commits on Sep 7, 2011
  1. Add Debian installation instructions.

    lamby committed Sep 7, 2011
    Signed-off-by: Chris Lamb <lamby@debian.org>
Commits on Aug 25, 2011
  1. fix typo

    benoitc committed Aug 25, 2011
Commits on Aug 22, 2011
  1. updated news

    benoitc committed Aug 22, 2011
  2. proper fix. ":w" helps.

    benoitc committed Aug 22, 2011
  3. bump to 0.13.1.

    benoitc committed Aug 22, 2011
  4. fix post_request config

    benoitc committed Aug 22, 2011
  5. 0.13 release news.

    benoitc committed Aug 22, 2011
  6. add Phil Schanely to THANKS

    tilgovi committed with benoitc Aug 22, 2011
  7. add denik to THANKS

    tilgovi committed Aug 21, 2011
  8. when stopping the arbiter, close the listener asap

    denik committed with tilgovi Aug 8, 2011
    setting self.LISTENER to None is not enough because
    self.WORKERS also have references to it
  9. fix typo in glogging module

    tilgovi committed Aug 22, 2011
  10. reopen logs on USR1 to master

    tilgovi committed Aug 22, 2011
Commits on Aug 21, 2011
  1. Use our own logger object to log events in gunicorn. While I'm here add

    benoitc committed Aug 21, 2011
    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 [84572] [INFO] Starting gunicorn 0.13.0
    2011-08-21 19:36:52 [84572] [INFO] Listening at: http://127.0.0.1:8000
    (84572)
    2011-08-21 19:36:52 [84572] [INFO] Using worker: sync
    2011-08-21 19:36:52 [84573] [INFO] Booting worker with pid: 84573
    2011-08-21 19:36:52 [84574] [INFO] Booting worker with pid: 84574
    2011-08-21 19:36:52 [84575] [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"
  2. bump version to 0.13.0

    benoitc committed Aug 21, 2011
  3. When the response is a 304 turn off chunked responses as there is a g…

    brosner committed with benoitc Apr 8, 2011
    …uarantee there is no response body (hence no Content-Length defined)
    
    This can cause odd behavior with browsers not being able to parse the response
    correctly (not sure if this is just a property of empty chunked responses or
    something else)