mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
example: edit paste example to allow the display of gunicorn logs
This commit is contained in:
parent
7bb1a57815
commit
05409f92af
@ -40,7 +40,7 @@ beaker.session.secret = somesecret
|
||||
|
||||
# Logging configuration
|
||||
[loggers]
|
||||
keys = root, routes, pylonstest
|
||||
keys = root, routes, pylonstest, gunicorn
|
||||
|
||||
[handlers]
|
||||
keys = console
|
||||
@ -63,6 +63,12 @@ level = DEBUG
|
||||
handlers =
|
||||
qualname = pylonstest
|
||||
|
||||
[logger_gunicorn]
|
||||
level = INFO
|
||||
handlers = console
|
||||
qualname = gunicorn.error
|
||||
|
||||
|
||||
[handler_console]
|
||||
class = StreamHandler
|
||||
args = (sys.stderr,)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user