currentfeature/docs
Last change
on this file since c660deb 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] |
---|
7 | use = egg:ow |
---|
8 | |
---|
9 | pyramid.reload_templates = true |
---|
10 | pyramid.debug_authorization = false |
---|
11 | pyramid.debug_notfound = false |
---|
12 | pyramid.debug_routematch = false |
---|
13 | pyramid.default_locale_name = en |
---|
14 | #pyramid.includes = |
---|
15 | # pyramid_debugtoolbar |
---|
16 | |
---|
17 | # Use this for local, single-process pserve database access |
---|
18 | zodbconn.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 | |
---|
22 | retry.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] |
---|
33 | use = egg:waitress#main |
---|
34 | listen = localhost:9999 |
---|
35 | |
---|
36 | ### |
---|
37 | # logging configuration |
---|
38 | # https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html |
---|
39 | ### |
---|
40 | |
---|
41 | [loggers] |
---|
42 | keys = root, ow |
---|
43 | |
---|
44 | [handlers] |
---|
45 | keys = console |
---|
46 | |
---|
47 | [formatters] |
---|
48 | keys = generic |
---|
49 | |
---|
50 | [logger_root] |
---|
51 | level = INFO |
---|
52 | handlers = console |
---|
53 | |
---|
54 | [logger_ow] |
---|
55 | level = DEBUG |
---|
56 | handlers = |
---|
57 | qualname = ow |
---|
58 | |
---|
59 | [handler_console] |
---|
60 | class = StreamHandler |
---|
61 | args = (sys.stderr,) |
---|
62 | level = NOTSET |
---|
63 | formatter = generic |
---|
64 | |
---|
65 | [formatter_generic] |
---|
66 | format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s |
---|
Note: See
TracBrowser
for help on using the repository browser.