]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - development.ini
Resolve some issues with characters not being translated correctly, fixes #1097
[xonotic/xonstat.git] / development.ini
1 [app:XonStat]
2 use = egg:XonStat
3 reload_templates = true
4 debug_authorization = false
5 debug_notfound = false
6 debug_routematch = false
7 debug_templates = true
8 default_locale_name = en
9 sqlalchemy.url = postgresql+psycopg2://xonstat:xonstat@localhost:5432/xonstatdb
10 session.type = file
11 session.data_dir = %(here)s/data/sessions/data
12 session.lock_dir = %(here)s/data/sessions/lock
13 session.key = xonstat
14 session.secret = CHANGEMECHANGEMECHANGEME
15 jinja2.directories = xonstat:templates
16 mako.directories = xonstat:templates
17
18 # Beaker cache settings
19 # Default is to use one region with hourly cache invalidation
20 cache.regions = hourly_term
21 cache.type = memory
22 cache.hourly_term.expire = 3600
23
24
25 ##### XONSTAT CONFIG SETTINGS #####
26
27 # how many "real" players are required before the data
28 # is stored in the database
29 xonstat.minimum_required_players = 1
30
31 # how far back to reach for calculating leaderboard rank
32 # e.g. set to 7 and only the current week's data is used
33 xonstat.leaderboard_lifetime = 30
34
35 # should the server verify requests using the d0_blind_id library?
36 # if so, edit the d0_blind_id.py file with the correct location of
37 # the crypto-keygen-standalone binary from the xonotic installation
38 # Note: the default is true
39 xonstat.verify_requests = false
40
41 ##### END XONSTAT CONFIG SETTINGS #####
42
43 [pipeline:main]
44 pipeline =
45     egg:WebError#evalerror
46     tm
47     XonStat
48
49 [filter:tm]
50 use = egg:repoze.tm2#tm
51 commit_veto = repoze.tm:default_commit_veto
52
53 [server:main]
54 use = egg:Paste#http
55 host = 0.0.0.0
56 port = 6543
57
58 # Begin logging configuration
59
60 [loggers]
61 keys = root, xonstat, sqlalchemy
62
63 [handlers]
64 keys = console
65
66 [formatters]
67 keys = generic
68
69 [logger_root]
70 level = INFO
71 handlers = console
72
73 [logger_xonstat]
74 level = DEBUG
75 handlers =
76 qualname = xonstat
77
78 [logger_sqlalchemy]
79 level = WARN
80 handlers =
81 qualname = sqlalchemy.engine
82 # "level = INFO" logs SQL queries.
83 # "level = DEBUG" logs SQL queries and results.
84 # "level = WARN" logs neither.  (Recommended for production systems.)
85
86 [handler_console]
87 class = StreamHandler
88 args = (sys.stderr,)
89 level = NOTSET
90 formatter = generic
91
92 [formatter_generic]
93 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
94
95 # End logging configuration