-
Notifications
You must be signed in to change notification settings - Fork 4
/
development.ini-dist
executable file
·84 lines (66 loc) · 1.56 KB
/
development.ini-dist
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[app:main]
use = egg:LBGenerator
sqlalchemy.url = postgresql://rest:rest@localhost/xxx
sqlalchemy.max_overflow = 0
sqlalchemy.pool_size = 20
storage.tmp_dir = /tmp
requests.timeout = 5
pyramid.reload_templates = true
pyramid.debug_authorization = true
pyramid.debug_notfound = true
pyramid.debug_routematch = true
pyramid.default_locale_name = en
mako.directories = lbgenerator:templates
auth.enabled = 0
auth.include_ip = 1
auth.admin_user = admin
auth.admin_passwd = admin
# lbrelacional
lbrelacional.url = http://127.0.0.1:8000/sqlapi
# Beaker cache
cache.regions = default_term, second, short_term, long_term
cache.type = memory
cache.second.expire = 1
cache.short_term.expire = 60
cache.default_term.expire = 300
cache.long_term.expire = 3600
[alembic]
sqlalchemy.url = postgresql://rest:rest@localhost/cacic
sqlalchemy.max_overflow = 0
sqlalchemy.pool_size = 20
script_location = db_versions
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
# Begin logging configuration
[loggers]
keys = root, lbgenerator, alembic
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = DEBUG
handlers = console
[logger_lbgenerator]
level = DEBUG
handlers =
qualname = lbgenerator
[logger_alembic]
level = DEBUG
handlers =
qualname = alembic
[logger_sqlalchemy]
level = DEBUG
handlers =
qualname = sqlalchemy.engine
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = DEBUG
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
datefmt = %H:%M:%S
# End logging configuration