-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.py.example
54 lines (45 loc) · 1.14 KB
/
settings.py.example
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
# local config for workday
DEBUG = False
RUN_MODE = 'Live'
RUN_MODE = 'File'
#
RESTTOOLS_CA_BUNDLE = '/home/fox/certs/uwca.crt'
GWS_CONF = {
'GWS_HOST': 'https://iam-ws.u.washington.edu:7443/',
'GWS_CERT_FILE': '/home/fox/certs/x315.crt',
'GWS_KEY_FILE': '/home/fox/certs/x315.key',
'GWS_CA_FILE': '/home/fox/certs/uwca.crt',
}
LOGGING = {
'version': 1,
'formatters': {
'plain': {
'format': '%(message)s'
},
'syslog': {
'format': '%(asctime)s [%(levelname)s] %(name)s: %(message)s'
},
},
'handlers': {
'default': {
'class': 'logging.StreamHandler',
'level': 'DEBUG',
'stream': 'ext://sys.stdout',
'formatter': 'plain',
},
'syslog': {
'class': 'logging.handlers.SysLogHandler',
'level': 'DEBUG',
'formatter': 'syslog',
'facility': 'LOG_LOCAL7'
}
},
'root': {
'level': 'DEBUG',
'handlers': ['default'],
},
'suds': {
'level': 'INFO',
'handlers': ['default']
},
}