|
- ###
- # app configuration
- # http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/narr/environment.html
- ###
-
- [app:main]
- use = egg:pizzavolus
-
- pyramid.reload_templates = false
- pyramid.debug_authorization = false
- pyramid.debug_notfound = false
- pyramid.debug_routematch = false
-
- sqlalchemy.url = sqlite:///%(here)s/pizzavolus.sqlite
-
- # Site name
- #app.sitename = PizzaVolus
-
- # Footer text, next to github link
- #app.footer_text =
-
- # Default local part regexp
- #app.lname_pattern = [a-zA-Z0-9_.-]{3,64}
-
- # Log IP/user-agent for users/addresses
- #app.log_user_auth = false
- #app.log_address_auth = false
-
- # Log entries displayed on users/addresses pages
- #app.user_log_limit = 10
- #app.address_log_limit = 5
-
- # Recaptcha site key and secret key, to use hcaptcha on open domains
- #app.hcaptcha_site =
- #app.hcaptcha_secret =
-
- # Required access level to see logs.
- # "address" < "user" < other values (disable log access)
- #app.address_log_access = user
- #app.user_log_access = user
-
- # URL to use for the webmail link. Not shown if empty.
- #app.webmail_link = /rc2/
-
- session.type = file
- session.data_dir = %(here)s/.tmp/session_data
- session.lock_dir = %(here)s/.tmp/session_lock
- session.key = session
-
- [server:main]
- use = egg:waitress#main
- host = 0.0.0.0
- port = 6543
-
- [alembic]
- script_location = ./alembic
-
- [loggers]
- keys = root, pizzavolus, sqlalchemy
-
- [handlers]
- keys = console
-
- [formatters]
- keys = generic
-
- [logger_root]
- level = WARN
- handlers = console
-
- [logger_pizzavolus]
- level = WARN
- handlers =
- qualname = pizzavolus
-
- [logger_sqlalchemy]
- level = WARN
- handlers =
- qualname = sqlalchemy.engine
- # "level = INFO" logs SQL queries.
- # "level = DEBUG" logs SQL queries and results.
- # "level = WARN" logs neither. (Recommended for production systems.)
-
- [logger_alembic]
- level = INFO
- handlers =
- qualname = alembic
-
- [handler_console]
- class = StreamHandler
- args = (sys.stderr,)
- level = NOTSET
- formatter = generic
-
- [formatter_generic]
- format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
|