-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
48 lines (43 loc) · 1.1 KB
/
settings.py
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
from estrom.utils import DotDict
settings = DotDict({
"crossbar": {
"host": "localhost",
"port": 7000,
"realm": "estrom",
"ns": "com.estrom",
"notify_ns": "com.estrom.notify",
"api_ns": "com.estrom.api",
"debug": True,
},
"es": {
"host": "localhost",
"port": 9200,
"percolator_type": ".percolator",
},
"beater": {
"host": "localhost",
"port": 8080,
},
"logging": {
"version": 1,
"disable_existing_loggers": False,
"formatters": {
"simple": {
"format": "%(asctime)s.%(msecs)03d: %(name)s %(funcName)s:%(lineno)d %(levelname)s ## %(message)s",
"datefmt": "%Y-%m-%dT%H:%M:%S",
},
},
"handlers": {
"console": {
"level": "DEBUG",
"class": "logging.StreamHandler",
"formatter": "simple",
},
},
"root": {
"level": "DEBUG",
"handlers": ["console"],
},
"loggers": {},
},
})