source: OpenWorkouts-current/staging.ini @ 57dcceb

currentfeature/docs
Last change on this file since 57dcceb was 57dcceb, checked in by Borja Lopez <borja@…>, 4 years ago

(#46) - Move session_factory and authn_policy salt hashes to the config/ini files

  • Property mode set to 100644
File size: 1.3 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 = false
10pyramid.debug_authorization = false
11pyramid.debug_notfound = false
12pyramid.debug_routematch = false
13pyramid.default_locale_name = en
14
15# ZODB connection
16zodbconn.uri = zeo://%(here)s/var/zeo/zeo.sock?blob_dir=%(here)s/var/zeo/blobs&shared_blob_dir=true&connection_pool_size=20
17
18retry.attempts = 3
19
20session.secret = Ir%%TViNv{S%%TuzHfOXZN=4gOu5O/prD\q6As3=GEa8RujI+9f?:[:-tI&KtPWTF8
21auth.secret = wI[/t0Pr9qQsRX?yYInT=+b_:<iySt|b/7?yjRHR5F`[E/MbsUZGtmPw&FZlIu0B
22
23
24###
25# wsgi server configuration
26###
27
28[server:main]
29use = egg:waitress#main
30listen = localhost:9999
31
32###
33# logging configuration
34# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
35###
36
37[loggers]
38keys = root, ow
39
40[handlers]
41keys = filelog, console
42
43[formatters]
44keys = generic
45
46[logger_root]
47level = WARN
48handlers = filelog
49
50[logger_ow]
51level = WARN
52handlers = filelog
53qualname = ow
54
55[handler_console]
56class = StreamHandler
57args = (sys.stderr,)
58level = NOTSET
59formatter = generic
60
61[handler_filelog]
62class = FileHandler
63args = ('%(here)s/var/log/openworkouts.log', 'a')
64level = DEBUG
65formatter = generic
66
67[formatter_generic]
68format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s
Note: See TracBrowser for help on using the repository browser.