You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

97 lines
1.9 KiB

  1. ###
  2. # app configuration
  3. # http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/narr/environment.html
  4. ###
  5. [app:main]
  6. use = egg:pizzavolus
  7. pyramid.reload_templates = false
  8. pyramid.debug_authorization = false
  9. pyramid.debug_notfound = false
  10. pyramid.debug_routematch = false
  11. sqlalchemy.url = sqlite:///%(here)s/pizzavolus.sqlite
  12. # Site name
  13. #app.sitename = PizzaVolus
  14. # Footer text, next to github link
  15. #app.footer_text =
  16. # Default local part regexp
  17. #app.lname_pattern = [a-zA-Z0-9_.-]{3,64}
  18. # Log IP/user-agent for users/addresses
  19. #app.log_user_auth = false
  20. #app.log_address_auth = false
  21. # Log entries displayed on users/addresses pages
  22. #app.user_log_limit = 10
  23. #app.address_log_limit = 5
  24. # Recaptcha site key and secret key, to use hcaptcha on open domains
  25. #app.hcaptcha_site =
  26. #app.hcaptcha_secret =
  27. # Required access level to see logs.
  28. # "address" < "user" < other values (disable log access)
  29. #app.address_log_access = user
  30. #app.user_log_access = user
  31. # URL to use for the webmail link. Not shown if empty.
  32. #app.webmail_link = /rc2/
  33. session.type = file
  34. session.data_dir = %(here)s/.tmp/session_data
  35. session.lock_dir = %(here)s/.tmp/session_lock
  36. session.key = session
  37. [server:main]
  38. use = egg:waitress#main
  39. host = 0.0.0.0
  40. port = 6543
  41. [alembic]
  42. script_location = ./alembic
  43. [loggers]
  44. keys = root, pizzavolus, sqlalchemy
  45. [handlers]
  46. keys = console
  47. [formatters]
  48. keys = generic
  49. [logger_root]
  50. level = WARN
  51. handlers = console
  52. [logger_pizzavolus]
  53. level = WARN
  54. handlers =
  55. qualname = pizzavolus
  56. [logger_sqlalchemy]
  57. level = WARN
  58. handlers =
  59. qualname = sqlalchemy.engine
  60. # "level = INFO" logs SQL queries.
  61. # "level = DEBUG" logs SQL queries and results.
  62. # "level = WARN" logs neither. (Recommended for production systems.)
  63. [logger_alembic]
  64. level = INFO
  65. handlers =
  66. qualname = alembic
  67. [handler_console]
  68. class = StreamHandler
  69. args = (sys.stderr,)
  70. level = NOTSET
  71. formatter = generic
  72. [formatter_generic]
  73. format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s