Michael Merickel
2017-06-18 75c30dfe18b26ca04efae2acbe35052fa0d93ed6
commit | author | age
6234f4 1 ###
PP 2 # app configuration
0fb992 3 # http://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
85623b 17 retry.attempts = 3
SP 18
6234f4 19 ###
PP 20 # wsgi server configuration
21 ###
22
43ab04 23 [server:main]
030d10 24 use = egg:waitress#main
fb17a3 25 listen = *:6543
43ab04 26
6234f4 27 ###
PP 28 # logging configuration
0fb992 29 # http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
6234f4 30 ###
43ab04 31
CM 32 [loggers]
33 keys = root, tutorial
34
35 [handlers]
36 keys = console
37
38 [formatters]
39 keys = generic
40
41 [logger_root]
a87a68 42 level = WARN
43ab04 43 handlers = console
CM 44
45 [logger_tutorial]
a87a68 46 level = WARN
43ab04 47 handlers =
CM 48 qualname = tutorial
49
50 [handler_console]
51 class = StreamHandler
52 args = (sys.stderr,)
53 level = NOTSET
54 formatter = generic
55
56 [formatter_generic]
2703e7 57 format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s