equal
deleted
inserted
replaced
|
1 |
|
2 [app:main] |
|
3 use = egg:{{ cookiecutter.webapp_name }} |
|
4 |
|
5 pyramid.reload_templates = true |
|
6 pyramid.debug_authorization = false |
|
7 pyramid.debug_notfound = false |
|
8 pyramid.debug_routematch = false |
|
9 pyramid.default_locale_name = fr |
|
10 pyramid.includes = |
|
11 aiopyramid |
|
12 pyams_cache |
|
13 pyams_notify_ws |
|
14 |
|
15 pyams_notify_ws.cache_server = {{ cookiecutter.cache_server }} |
|
16 |
|
17 [server:main] |
|
18 use = egg:gunicorn#main |
|
19 host = 0.0.0.0 |
|
20 port = 8081 |
|
21 worker_class = aiopyramid.gunicorn.worker.AsyncGunicornWorker |
|
22 worker_tmp_dir = $((INSTALL))/var/tmp |
|
23 preload = true |
|
24 reload = false |
|
25 proc_name = GUnicorn ({{ cookiecutter.project_name }}) |
|
26 chdir = $((INSTALL))/var/tmp |
|
27 pidfile = $((INSTALL))/var/run/{{ cookiecutter.webapp_name }}.pid |
|
28 user = {{ cookiecutter.run_user }} |
|
29 group = {{ cookiecutter.run_group }} |
|
30 loglevel = debug |
|
31 |
|
32 [loggers] |
|
33 keys = root, {{ cookiecutter.project_slug }} |
|
34 |
|
35 [handlers] |
|
36 keys = console |
|
37 |
|
38 [formatters] |
|
39 keys = generic |
|
40 |
|
41 [logger_root] |
|
42 level = DEBUG |
|
43 handlers = console |
|
44 |
|
45 [logger_{{ cookiecutter.project_slug }}] |
|
46 level = INFO |
|
47 handlers = |
|
48 qualname = {{ cookiecutter.project_slug }} |
|
49 |
|
50 [handler_console] |
|
51 class = StreamHandler |
|
52 args = (sys.stderr,) |
|
53 level = NOTSET |
|
54 formatter = generic |
|
55 |
|
56 [formatter_generic] |
|
57 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s |