3 reload_templates = false
4 debug_authorization = false
6 debug_routematch = false
7 debug_templates = false
8 default_locale_name = en
9 sqlalchemy.url = postgresql+psycopg2://xonstat:PASSWORD@localhost:5432/xonstatdb
10 mako.directories = xonstat:templates
12 # Beaker cache settings
13 # Default is to use one region with hourly cache invalidation
14 cache.regions = hourly_term
16 cache.hourly_term.expire = 3600
18 # XonStat-specific settings. See development.ini for their descriptions.
19 xonstat.minimum_required_players = 2
20 xonstat.leaderboard_lifetime = 7
21 xonstat.verify_requests = true
22 xonstat.servers.leaderboard_lifetime = 30
23 xonstat.servers.leaderboard_count = 10
24 xonstat.servers.index_count = 20
25 xonstat.servers.recent_games_count = 20
28 use = egg:WebError#error_catcher
36 # Gunicorn settings. See http://docs.gunicorn.org/en/19.3/configure.html.
37 use = egg:gunicorn#main
47 pidfile = /tmp/xonstat.pid
49 accesslog = ~/xonstat/xonstat_access.log
50 errorlog = ~/xonstat/xonstat.log
52 # Begin logging configuration
55 keys = root, xonstat, sqlalchemy
65 handlers = console, error_file
73 # INFO logs SQL queries, DEBUG logs queries and results, and WARN logs neither
76 qualname = sqlalchemy.engine
85 class = logging.handlers.RotatingFileHandler
87 args = ('~/xonstat/xonstat.log', 'a', 50000000, 5)
90 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
92 # End logging configuration