This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
forked from hotosm/osm-tasking-manager2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
production.ini
76 lines (59 loc) · 1.76 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
71
72
73
74
75
76
[app:main]
use = egg:osmtm
reload_templates = false
debug_authorization = false
debug_notfound = false
debug_routematch = false
debug_templates = false
default_locale_name = en
available_languages = en fr es de pt ja lt zh_TW id da pt_BR ru sl it nl_NL uk ta si cs nb hu
# Full language names in native language (comma separated)
available_languages_full = English, Français, Español, Deutsch, Português, 日本語, Lietuvos, 中文, Indonesia, Dansk, Português (Brasil), Русский, Slovenščina, Italiano, Nederlands, Українська, தமிழ், සිංහල, Česky, Bokmål, Magyar
sqlalchemy.url = postgresql://username:password@localhost/osmtm
local_settings_path = %(here)s/local.ini
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
# Begin logging configuration
[loggers]
keys = root, osmtm, sqlalchemy, exc_logger
[handlers]
keys = filelog, exc_handler
[formatters]
keys = generic, exc_formatter
[logger_root]
level = WARN
handlers = filelog
[logger_osmtm]
level = WARN
handlers = filelog
qualname = osmtm
[logger_sqlalchemy]
level = WARN
handlers = filelog
qualname = sqlalchemy.engine
[logger_exc_logger]
level = ERROR
handlers = exc_handler
qualname = exc_logger
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[handler_filelog]
class = handlers.TimedRotatingFileHandler
args = ('%(here)s/osmtm.log','W6', 1, 3)
level = NOTSET
formatter = generic
[handler_exc_handler]
class = handlers.TimedRotatingFileHandler
args = ('%(here)s/exception.log','W6', 1, 3)
level = ERROR
formatter = exc_formatter
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
[formatter_exc_formatter]
format = %(asctime)s %(message)s
# End logging configuration)