forked from Geoportail-Luxembourg/geoportailv3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
production.ini.mako
109 lines (89 loc) · 2.02 KB
/
production.ini.mako
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[app:app]
use = egg:geoportailv3
project = geoportailv3
reload_templates = false
debug_authorization = false
debug_notfound = false
debug_routematch = false
debug_templates = false
mako.directories = geoportailv3:templates
c2cgeoportal:templates
authtkt_secret = ${authtkt["secret"]}
authtkt_cookie_name = ${authtkt["cookie_name"]}
% if "timeout" in authtkt:
authtkt_timeout = ${authtkt["timeout"]}
% endif
app.cfg = %(here)s/.build/config.yaml
elastic.servers = ${search_host}
elastic.index = ${search_index}
[filter:weberror]
use = egg:WebError#error_catcher
debug = false
;error_log =
;show_exceptions_in_wsgi_errors = true
;smtp_server = localhost
;error_email = [email protected]
;smtp_username = janitor
;smtp_password = "janitor's password"
;from_address = paste@localhost
;error_subject_prefix = "Pyramid Error"
;smtp_use_tls =
;error_message =
[filter:fanstatic]
use = egg:fanstatic#fanstatic
publisher_signature = fanstatic
base_url = /${instanceid}/wsgi
recompute_hashes = false
versioning = false
bottom = true
minified = true
[filter:raven]
use = egg:raven#raven
dsn = ${sentry_dsn}
include_paths = app
[pipeline:main]
pipeline =
raven
weberror
fanstatic
app
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = ${waitress_port}
# Begin logging configuration
[loggers]
keys = root, sentry, c2cgeoportal, geoportailv3
[handlers]
keys = console, sentry
[formatters]
keys = generic
[logger_root]
level = WARN
handlers = console, sentry
[logger_sentry]
level = WARN
handlers = console
qualname = sentry.errors
propagate = 0
[logger_c2cgeoportal]
level = WARN
handlers =
qualname = c2cgeoportal
[logger_geoportailv3]
level = WARN
handlers =
qualname = geoportailv3
[handler_sentry]
class = raven.handlers.logging.SentryHandler
args = ('${sentry_dsn}',)
level = WARNING
formatter = generic
[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