example: edit paste example to allow the display of gunicorn logs

This commit is contained in:
benoitc 2014-07-26 11:22:53 +02:00
parent 7bb1a57815
commit 05409f92af

View File

@ -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,)