-
Notifications
You must be signed in to change notification settings - Fork 0
/
development.ini
60 lines (48 loc) · 1.01 KB
/
development.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
[app:MOE]
use = egg:MOE
reload_templates = true
debug_authorization = false
debug_notfound = false
debug_routematch = false
debug_templates = true
default_locale_name = en
use_mongo = false
mongodb.url = mongodb://localhost
mongodb.port = 27017
mongodb.db_name = mydb
[pipeline:main]
pipeline =
egg:WebError#evalerror
MOE
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 6543
# Begin logging configuration
[loggers]
keys = root, moe
[handlers]
keys = console, filelog
[formatters]
keys = generic
[handler_filelog]
class = FileHandler
args = ('%(here)s/moe.log','a')
level = DEBUG
formatter = generic
# used by all applications in the Pyramid process that ask for a logger
[logger_root]
level = INFO
handlers = console, filelog
[logger_moe]
level = DEBUG
handlers =
qualname = moe
[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