source: OpenWorkouts-current/development.ini @ 929097a

currentfeature/docs
Last change on this file since 929097a was 929097a, checked in by borja <borja@…>, 5 years ago

Disabled pyramid debug toolbar

  • Property mode set to 100644
File size: 1.4 KB
Line 
1###
2# app configuration
3# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
4###
5
6[app:main]
7use = egg:ow
8
9pyramid.reload_templates = true
10pyramid.debug_authorization = false
11pyramid.debug_notfound = false
12pyramid.debug_routematch = false
13pyramid.default_locale_name = en
14#pyramid.includes =
15#    pyramid_debugtoolbar
16
17# Use this for local, single-process pserve database access
18zodbconn.uri = file://%(here)s/var/db/Data.fs?connection_cache_size=20000&blobstorage_dir=%(here)s/var/db/blobs
19# Use this for ZEO
20# zodbconn.uri = zeo://%(here)s/var/zeo/zeo.sock?storage=main&blob_dir=%(here)s/var/zeo/blobs&shared_blob_dir=true&connection_pool_size=20
21
22retry.attempts = 3
23
24# By default, the toolbar only appears for clients from IP addresses
25# '127.0.0.1' and '::1'.
26# debugtoolbar.hosts = 127.0.0.1 ::1
27
28###
29# wsgi server configuration
30###
31
32[server:main]
33use = egg:waitress#main
34listen = localhost:9999
35
36###
37# logging configuration
38# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
39###
40
41[loggers]
42keys = root, ow
43
44[handlers]
45keys = console
46
47[formatters]
48keys = generic
49
50[logger_root]
51level = INFO
52handlers = console
53
54[logger_ow]
55level = DEBUG
56handlers =
57qualname = ow
58
59[handler_console]
60class = StreamHandler
61args = (sys.stderr,)
62level = NOTSET
63formatter = generic
64
65[formatter_generic]
66format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s
Note: See TracBrowser for help on using the repository browser.