-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
36 lines (33 loc) · 894 Bytes
/
config.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
# Server Specific Configurations
server = {
'port': '8558',
'host': '0.0.0.0'
}
# Pecan Application Configurations
app = {
'root': 'vouch.controllers.root.RootController',
'modules': ['vouch'],
'debug': False,
# this 'guess' also strips off the extension from the resource path.
'guess_content_type_from_ext': False
}
logging = {
'loggers': {
'vouch': {'level': 'DEBUG', 'handlers': ['console']},
'keystonemiddleware': {'level': 'DEBUG', 'handlers': ['console']},
'__force_dict__': True
},
'handlers': {
'console': {
'level': 'DEBUG',
'class': 'logging.StreamHandler',
'formatter': 'simple'
}
},
'formatters': {
'simple': {
'format': ('%(asctime)s %(levelname)s [%(name)s]'
'[%(threadName)s] %(message)s')
}
}
}