Steve Piercy
2017-05-13 d88727da438861da9f839e840d4fc532fe51032d
commit | author | age
6234f4 1 ###
PP 2 # app configuration
9e5dcc 3 # http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
6234f4 4 ###
PP 5
3d338e 6 [app:main]
c44c40 7 use = egg:tutorial
6234f4 8
875ded 9 pyramid.reload_templates = true
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_debugtoolbar
16
b25335 17 zodbconn.uri = file://%(here)s/Data.fs?connection_cache_size=20000
0d7e95 18
6234f4 19 # By default, the toolbar only appears for clients from IP addresses
PP 20 # '127.0.0.1' and '::1'.
21 # debugtoolbar.hosts = 127.0.0.1 ::1
22
23 ###
24 # wsgi server configuration
25 ###
26
e53e13 27 [server:main]
030d10 28 use = egg:waitress#main
12fe4f 29 listen = localhost:6543
2a5ae0 30
6234f4 31 ###
PP 32 # logging configuration
9e5dcc 33 # http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
6234f4 34 ###
2a5ae0 35
CM 36 [loggers]
6234f4 37 keys = root, tutorial
2a5ae0 38
CM 39 [handlers]
40 keys = console
41
42 [formatters]
43 keys = generic
44
45 [logger_root]
46 level = INFO
47 handlers = console
48
6234f4 49 [logger_tutorial]
PP 50 level = DEBUG
51 handlers =
52 qualname = tutorial
53
2a5ae0 54 [handler_console]
CM 55 class = StreamHandler
56 args = (sys.stderr,)
57 level = NOTSET
58 formatter = generic
59
60 [formatter_generic]
f5a9a5 61 format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s