diff -r 000000000000 -r e4f314a62bbf {{cookiecutter.project_slug}}/etc/development.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/{{cookiecutter.project_slug}}/etc/development.ini Fri Jun 02 15:07:36 2017 +0200 @@ -0,0 +1,57 @@ + +[app:main] +use = egg:{{ cookiecutter.webapp_name }} + +pyramid.reload_templates = true +pyramid.debug_authorization = false +pyramid.debug_notfound = false +pyramid.debug_routematch = false +pyramid.default_locale_name = fr +pyramid.includes = + aiopyramid + pyams_cache + pyams_notify_ws + +pyams_notify_ws.cache_server = {{ cookiecutter.cache_server }} + +[server:main] +use = egg:gunicorn#main +host = 0.0.0.0 +port = 8081 +worker_class = aiopyramid.gunicorn.worker.AsyncGunicornWorker +worker_tmp_dir = $((INSTALL))/var/tmp +preload = true +reload = false +proc_name = GUnicorn ({{ cookiecutter.project_name }}) +chdir = $((INSTALL))/var/tmp +pidfile = $((INSTALL))/var/run/{{ cookiecutter.webapp_name }}.pid +user = {{ cookiecutter.run_user }} +group = {{ cookiecutter.run_group }} +loglevel = debug + +[loggers] +keys = root, {{ cookiecutter.project_slug }} + +[handlers] +keys = console + +[formatters] +keys = generic + +[logger_root] +level = DEBUG +handlers = console + +[logger_{{ cookiecutter.project_slug }}] +level = INFO +handlers = +qualname = {{ cookiecutter.project_slug }} + +[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