-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevelopment.ini_tmpl
64 lines (52 loc) · 1.47 KB
/
development.ini_tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[app:main]
use = egg:{{project}}
pyramid.reload_templates = true
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.debug_templates = false
pyramid.default_locale_name = ru
sqlalchemy.url = sqlite://
sqlalchemy.encoding = utf-8
#sqlalchemy.url = sqlite:///%(here)s/{{project}}.db
beaker.session.type = memcached
beaker.session.url = 127.0.0.1:11211
beaker.session.lock_dir = %(here)s/lock
beaker.session.key = session
beaker.session.secret = loozy_session_seekrit
beaker.session.cookie_on_exception = true
authentication_policy = AuthTktAuthenticationPolicy('seekrit')
authorization_policy = ACLAuthorizationPolicy()
cache.example = 127.0.0.1:11211
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 8080
# Begin logging configuration
[loggers]
keys = root, {{project}}, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_{{project}}]
level = DEBUG
handlers =
qualname = {{project}}
[logger_sqlalchemy]
level = INFO
handlers =
qualname = sqlalchemy.engine
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither. (Recommended for production systems.)
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
# End logging configuration