-
Notifications
You must be signed in to change notification settings - Fork 0
/
production.ini
70 lines (51 loc) · 1.49 KB
/
production.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
# For copyright and license terms, see COPYRIGHT.rst (top level of repository)
# Repository: https://github.com/C3S/collecting_society_web
###
# plugin configuration
###
[plugin:main]
plugin.priority = 200
app.languages = en de
api.repertoire.url = ${WEBAPI_URL}/${WEBAPI_ENDPOINT_REPERTOIRE}
api.repertoire.version = ${WEBAPI_VERSION}
api.repertoire.content_base_path = ${WEBAPI_CONTENT}
api.repertoire.storage_base_path = ${WEBAPI_STORAGE}
api.repertoire.tempfile_expire_days = 7
api.datatables.url = ${WEBAPI_URL}/${WEBAPI_ENDPOINT_DATATABLES}
api.datatables.version = ${WEBAPI_VERSION}
benchmark.checksum = false
abuse_rank.active = true
abuse_rank.max = 150
abuse_rank.removeban = 3600
###
# logging configuration
# http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/narr/logging.html
###
[loggers]
keys = root, collecting_society_web
[handlers]
keys = console
[formatters]
keys = generic, fullname, funcname, plain
[logger_root]
level = INFO
handlers = console
[logger_collecting_society_web]
level = ERROR
handlers =
qualname = collecting_society_web
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = fullname
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s %(funcName)s] %(message)s
[formatter_fullname]
format =
--- %(levelname)s | %(name)s | %(funcName)s() ---------------------------------
%(message)s
[formatter_funcname]
format = %(levelname)s [%(funcName)s()] %(message)s
[formatter_plain]
format = %(message)s