development.ini 969 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ###
  2. # app configuration
  3. # http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
  4. ###
  5. [app:main]
  6. use = call:frameworkbenchmarks:main
  7. pyramid.reload_templates = false
  8. pyramid.debug_authorization = false
  9. pyramid.debug_notfound = false
  10. pyramid.debug_routematch = false
  11. pyramid.default_locale_name = en
  12. ###
  13. # wsgi server configuration
  14. ###
  15. [server:main]
  16. use = egg:gunicorn#main
  17. host = 0.0.0.0
  18. port = 6543
  19. ###
  20. # logging configuration
  21. # http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
  22. ###
  23. [loggers]
  24. keys = root, frameworkbenchmarks
  25. [handlers]
  26. keys = console
  27. [formatters]
  28. keys = generic
  29. [logger_root]
  30. level = NOTSET
  31. handlers = console
  32. [logger_frameworkbenchmarks]
  33. level = NOTSET
  34. handlers =
  35. qualname = frameworkbenchmarks
  36. [handler_console]
  37. class = StreamHandler
  38. args = (sys.stderr,)
  39. level = NOTSET
  40. formatter = generic
  41. [formatter_generic]
  42. format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s