-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyramid-docker.ini
54 lines (38 loc) · 937 Bytes
/
pyramid-docker.ini
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
[app:main]
use = egg:easy_webserver
pyramid.reload_templates = true
pyramid.includes =
pyramid_debugtoolbar
pyramid_tm
sqlalchemy.url = postgresql://easy_webserver:example@db/easy_webserver
auth.secret = wallaWallaBingBang
debugtoolbar.hosts = 0.0.0.0/0
[server:main]
use = egg:waitress#main
listen = 0.0.0.0:6543
# Begin logging configuration
[loggers]
keys = root, easy_webserver, sqlalchemy.engine.base.Engine
[logger_easy_webserver]
level = DEBUG
handlers =
qualname = easy_webserver
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_sqlalchemy.engine.base.Engine]
level = INFO
handlers =
qualname = sqlalchemy.engine.base.Engine
[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