Martin
2016-12-06 1bf417e4c1b2865f44357a61ca16fadde310077e
commit | author | age
6234f4 1 ###
PP 2 # app configuration
2703e7 3 # http://docs.pylonsproject.org/projects/pyramid/en/1.7-branch/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 pyramid.includes =
CM 15     pyramid_tm
16     pyramid_zodbconn
17
4d23e6 18 tm.attempts = 3
b25335 19 zodbconn.uri = file://%(here)s/Data.fs?connection_cache_size=20000
43ab04 20
6234f4 21 ###
PP 22 # wsgi server configuration
23 ###
24
43ab04 25 [server:main]
030d10 26 use = egg:waitress#main
1bf417 27 listen = 0.0.0.0:6543
43ab04 28
6234f4 29 ###
PP 30 # logging configuration
2703e7 31 # http://docs.pylonsproject.org/projects/pyramid/en/1.7-branch/narr/logging.html
6234f4 32 ###
43ab04 33
CM 34 [loggers]
35 keys = root, tutorial
36
37 [handlers]
38 keys = console
39
40 [formatters]
41 keys = generic
42
43 [logger_root]
a87a68 44 level = WARN
43ab04 45 handlers = console
CM 46
47 [logger_tutorial]
a87a68 48 level = WARN
43ab04 49 handlers =
CM 50 qualname = tutorial
51
52 [handler_console]
53 class = StreamHandler
54 args = (sys.stderr,)
55 level = NOTSET
56 formatter = generic
57
58 [formatter_generic]
2703e7 59 format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s