Make the table headers match.
[xonotic/xonstat.git] / production.ini
1 [app:XonStat]
2 use                  =  egg:XonStat
3 reload_templates     =  false
4 debug_authorization  =  false
5 debug_notfound       =  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
11
12 # Beaker cache settings
13 # Default is to use one region with hourly cache invalidation
14 cache.regions             =  hourly_term
15 cache.type                =  memory
16 cache.hourly_term.expire  =  3600
17
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
23 [filter:weberror]
24 use   = egg:WebError#error_catcher
25 debug = false
26
27 [pipeline:main]
28 pipeline =
29     XonStat
30
31 [server:main]
32 # Gunicorn settings. See http://docs.gunicorn.org/en/19.3/configure.html.
33 use               =  egg:gunicorn#main
34 user              =  xonstat
35 group             =  xonstat
36 proc_name         =  xonstat
37 daemon            =  True
38 bind              =  0.0.0.0:6543
39 workers           =  4
40 max_requests      =  5000
41 timeout           =  30
42 graceful_timeout  =  30
43 pidfile           =  /tmp/xonstat.pid
44 loglevel          =  INFO
45 accesslog         =  ~/xonstat/xonstat_access.log
46 errorlog          =  ~/xonstat/xonstat.log
47
48 # Begin logging configuration
49
50 [loggers]
51 keys = root, xonstat, sqlalchemy
52
53 [handlers]
54 keys = console
55
56 [formatters]
57 keys = generic
58
59 [logger_root]
60 level    = WARN
61 handlers = console, error_file
62
63 [logger_xonstat]
64 level    = WARN
65 handlers =
66 qualname = xonstat
67
68 [logger_sqlalchemy]
69 # INFO logs SQL queries, DEBUG logs queries and results, and WARN logs neither
70 level = WARN
71 handlers =
72 qualname = sqlalchemy.engine
73
74 [handler_console]
75 class     = StreamHandler
76 args      = (sys.stderr,)
77 level     = NOTSET
78 formatter = generic
79
80 [handler_error_file]
81 class     = logging.handlers.RotatingFileHandler
82 formatter = generic
83 args      = ('~/xonstat/xonstat.log', 'a', 50000000, 5)
84
85 [formatter_generic]
86 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
87
88 # End logging configuration