forked from rusenask/mirage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev_container.ini
83 lines (61 loc) · 1.47 KB
/
dev_container.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
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
[DEFAULT]
mongo.host = mongo
mongo.port = 27017
mongo.max_pool_size = 10
mongo.tz_aware = true
mongo.db = stubodb
tornado.host = localhost
tornado.port = 8001
redis.host = redis
redis.port = 6379
redis.db = 0
redis_master.host = redis
redis_master.port = 6379
redis_master.db = 0
statsd.host = localhost
statsd.prefix = stubo
#graphite.host = http://your-graphite.com/
# this is actually the auth to connect to graphite server not app user/password
#graphite.user =
#graphite.password =
# Only cache the first <request_cache_limit> of requests that have the same response
# request_cache_limit = 10
# derived stubo.ext.hooks.Hooks class to provide alternative transformer
# hooks_cls = stubo.ext.transformer.StuboDefaultHooks
# load balancer
lb = 127.0.0.1
debug = true
num_processes = 1
# worker thread pool
max_workers = 100
# Begin logging configuration
[loggers]
keys = root, stubo, tornado
[handlers]
keys = console, file
[formatters]
keys = generic
[logger_root]
level = DEBUG
handlers = console, file
[logger_stubo]
level = INFO
handlers =
qualname = stubo
[logger_tornado]
level = INFO
handlers =
qualname = tornado
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[handler_file]
class = handlers.WatchedFileHandler
args = ('./log/stubo.log', 'a')
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(process)d:%(threadName)s] %(message)s
# End logging configuration