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
|
# Logging configuration
|
||||||
[loggers]
|
[loggers]
|
||||||
keys = root, routes, pylonstest
|
keys = root, routes, pylonstest, gunicorn
|
||||||
|
|
||||||
[handlers]
|
[handlers]
|
||||||
keys = console
|
keys = console
|
||||||
@ -63,6 +63,12 @@ level = DEBUG
|
|||||||
handlers =
|
handlers =
|
||||||
qualname = pylonstest
|
qualname = pylonstest
|
||||||
|
|
||||||
|
[logger_gunicorn]
|
||||||
|
level = INFO
|
||||||
|
handlers = console
|
||||||
|
qualname = gunicorn.error
|
||||||
|
|
||||||
|
|
||||||
[handler_console]
|
[handler_console]
|
||||||
class = StreamHandler
|
class = StreamHandler
|
||||||
args = (sys.stderr,)
|
args = (sys.stderr,)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user