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
24 use = egg:WebError#error_catcher
32 # Gunicorn settings. See http://docs.gunicorn.org/en/19.3/configure.html.
33 use = egg:gunicorn#main
43 pidfile = /tmp/xonstat.pid
45 accesslog = ~/xonstat/xonstat_access.log
46 errorlog = ~/xonstat/xonstat.log
48 # Begin logging configuration
51 keys = root, xonstat, sqlalchemy
61 handlers = console, error_file
69 # INFO logs SQL queries, DEBUG logs queries and results, and WARN logs neither
72 qualname = sqlalchemy.engine
81 class = logging.handlers.RotatingFileHandler
83 args = ('~/xonstat/xonstat.log', 'a', 50000000, 5)
86 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
88 # End logging configuration