development.ini 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. pyramid.includes = pyramid_debugtoolbar
  13. debugtoolbar.active_panels = performance
  14. sqlalchemy.url = postgresql:///frameworkbenchmarks
  15. ###
  16. # wsgi server configuration
  17. ###
  18. [server:main]
  19. use = egg:waitress#main
  20. host = 0.0.0.0
  21. port = 8080
  22. ###
  23. # logging configuration
  24. # http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
  25. ###
  26. [loggers]
  27. keys = root, frameworkbenchmarks
  28. [handlers]
  29. keys = console
  30. [formatters]
  31. keys = generic
  32. [logger_root]
  33. level = NOTSET
  34. handlers = console
  35. [logger_frameworkbenchmarks]
  36. level = NOTSET
  37. handlers =
  38. qualname = frameworkbenchmarks
  39. [handler_console]
  40. class = StreamHandler
  41. args = (sys.stderr,)
  42. level = NOTSET
  43. formatter = generic
  44. [formatter_generic]
  45. format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s