equal
deleted
inserted
replaced
|
1 ### |
|
2 # app configuration |
|
3 # http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html |
|
4 ### |
|
5 |
|
6 [app:main] |
|
7 use = egg:sampleapp |
|
8 |
|
9 pyramid.reload_templates = true |
|
10 pyramid.debug_authorization = false |
|
11 pyramid.debug_notfound = false |
|
12 pyramid.debug_routematch = false |
|
13 pyramid.default_locale_name = en |
|
14 pyramid.includes = |
|
15 pyramid_debugtoolbar |
|
16 pyramid_cubicweb |
|
17 |
|
18 cubicweb.instance = test |
|
19 |
|
20 session.secret = AhQuupai6ahGh0Zohph7yoo7oojaiFa5ahF7AiLoh6ua6sha3PaaVua8aenohled |
|
21 |
|
22 # By default, the toolbar only appears for clients from IP addresses |
|
23 # '127.0.0.1' and '::1'. |
|
24 # debugtoolbar.hosts = 127.0.0.1 ::1 |
|
25 |
|
26 ### |
|
27 # wsgi server configuration |
|
28 ### |
|
29 |
|
30 [server:main] |
|
31 use = egg:waitress#main |
|
32 host = 0.0.0.0 |
|
33 port = 8080 |
|
34 |
|
35 ### |
|
36 # logging configuration |
|
37 # http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html |
|
38 ### |
|
39 |
|
40 [loggers] |
|
41 keys = root, sampleapp |
|
42 |
|
43 [handlers] |
|
44 keys = console |
|
45 |
|
46 [formatters] |
|
47 keys = generic |
|
48 |
|
49 [logger_root] |
|
50 level = INFO |
|
51 handlers = console |
|
52 |
|
53 [logger_sampleapp] |
|
54 level = DEBUG |
|
55 handlers = |
|
56 qualname = sampleapp |
|
57 |
|
58 [handler_console] |
|
59 class = StreamHandler |
|
60 args = (sys.stderr,) |
|
61 level = NOTSET |
|
62 formatter = generic |
|
63 |
|
64 [formatter_generic] |
|
65 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s |