Add a setting to turn off req verification easily.
[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 = sqlite:///%(here)s/XonStat.db
10 jinja2.directories = xonstat:templates
11 mako.directories = xonstat:templates
12
13 xonstat.minimum_required_players = 2
14 xonstat.leaderboard_lifetime = 7
15 xonstat.verify_requests = true
16
17 [filter:weberror]
18 use = egg:WebError#error_catcher
19 debug = false
20 ;error_log = 
21 ;show_exceptions_in_wsgi_errors = true
22 ;smtp_server = localhost
23 ;error_email = janitor@example.com
24 ;smtp_username = janitor
25 ;smtp_password = "janitor's password"
26 ;from_address = paste@localhost
27 ;error_subject_prefix = "Pyramid Error"
28 ;smtp_use_tls =
29 ;error_message =
30
31 [filter:tm]
32 use = egg:repoze.tm2#tm
33 commit_veto = repoze.tm:default_commit_veto
34
35 [pipeline:main]
36 pipeline =
37     weberror
38     tm
39     XonStat
40
41 [server:main]
42 use = egg:Paste#http
43 host = 0.0.0.0
44 port = 6543
45
46 # Begin logging configuration
47
48 [loggers]
49 keys = root, xonstat, sqlalchemy
50
51 [handlers]
52 keys = console
53
54 [formatters]
55 keys = generic
56
57 [logger_root]
58 level = WARN
59 handlers = console
60
61 [logger_xonstat]
62 level = WARN
63 handlers =
64 qualname = xonstat
65
66 [logger_sqlalchemy]
67 level = WARN
68 handlers =
69 qualname = sqlalchemy.engine
70 # "level = INFO" logs SQL queries.
71 # "level = DEBUG" logs SQL queries and results.
72 # "level = WARN" logs neither.  (Recommended for production systems.)
73
74 [handler_console]
75 class = StreamHandler
76 args = (sys.stderr,)
77 level = NOTSET
78 formatter = generic
79
80 [formatter_generic]
81 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
82
83 # End logging configuration