3 reload_templates = true
4 debug_authorization = false
6 debug_routematch = false
8 default_locale_name = en
9 sqlalchemy.url = postgresql+psycopg2://xonstat:xonstat@localhost:5432/xonstatdb
11 session.data_dir = %(here)s/data/sessions/data
12 session.lock_dir = %(here)s/data/sessions/lock
14 session.secret = CHANGEMECHANGEMECHANGEME
15 jinja2.directories = xonstat:templates
16 mako.directories = xonstat:templates
18 # Beaker cache settings
19 # Default is to use one region with hourly cache invalidation
20 cache.regions = hourly_term
22 cache.hourly_term.expire = 3600
25 ##### XONSTAT CONFIG SETTINGS #####
27 # how many "real" players are required before the data
28 # is stored in the database
29 xonstat.minimum_required_players = 1
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
35 ##### END XONSTAT CONFIG SETTINGS #####
39 egg:WebError#evalerror
44 use = egg:repoze.tm2#tm
45 commit_veto = repoze.tm:default_commit_veto
52 # Begin logging configuration
55 keys = root, xonstat, sqlalchemy
75 qualname = sqlalchemy.engine
76 # "level = INFO" logs SQL queries.
77 # "level = DEBUG" logs SQL queries and results.
78 # "level = WARN" logs neither. (Recommended for production systems.)
87 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
89 # End logging configuration