commit | author | age
|
6234f4
|
1 |
### |
PP |
2 |
# app configuration |
1c561a
|
3 |
# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html |
6234f4
|
4 |
### |
PP |
5 |
|
3d338e
|
6 |
[app:main] |
43ab04
|
7 |
use = egg:tutorial |
6234f4
|
8 |
|
875ded
|
9 |
pyramid.reload_templates = false |
MM |
10 |
pyramid.debug_authorization = false |
|
11 |
pyramid.debug_notfound = false |
|
12 |
pyramid.debug_routematch = false |
|
13 |
pyramid.default_locale_name = en |
d21ba4
|
14 |
|
b25335
|
15 |
zodbconn.uri = file://%(here)s/Data.fs?connection_cache_size=20000 |
43ab04
|
16 |
|
6234f4
|
17 |
### |
PP |
18 |
# wsgi server configuration |
|
19 |
### |
|
20 |
|
43ab04
|
21 |
[server:main] |
030d10
|
22 |
use = egg:waitress#main |
fb17a3
|
23 |
listen = *:6543 |
43ab04
|
24 |
|
6234f4
|
25 |
### |
PP |
26 |
# logging configuration |
1c561a
|
27 |
# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html |
6234f4
|
28 |
### |
43ab04
|
29 |
|
CM |
30 |
[loggers] |
|
31 |
keys = root, tutorial |
|
32 |
|
|
33 |
[handlers] |
|
34 |
keys = console |
|
35 |
|
|
36 |
[formatters] |
|
37 |
keys = generic |
|
38 |
|
|
39 |
[logger_root] |
a87a68
|
40 |
level = WARN |
43ab04
|
41 |
handlers = console |
CM |
42 |
|
|
43 |
[logger_tutorial] |
a87a68
|
44 |
level = WARN |
43ab04
|
45 |
handlers = |
CM |
46 |
qualname = tutorial |
|
47 |
|
|
48 |
[handler_console] |
|
49 |
class = StreamHandler |
|
50 |
args = (sys.stderr,) |
|
51 |
level = NOTSET |
|
52 |
formatter = generic |
|
53 |
|
|
54 |
[formatter_generic] |
f5a9a5
|
55 |
format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s |