Merge pull request #1 from z/master
[xonotic/xonstat.git] / development.ini
1 [app:XonStat]
2 use = egg:XonStat
3 reload_templates = true
4 debug_authorization = false
5 debug_notfound = false
6 debug_routematch = false
7 debug_templates = true
8 default_locale_name = en
9 sqlalchemy.url = postgresql+psycopg2://xonstat:xonstat@localhost:5432/xonstatdb
10 session.type = file
11 session.data_dir = %(here)s/data/sessions/data
12 session.lock_dir = %(here)s/data/sessions/lock
13 session.key = xonstat
14 session.secret = 433fa4b080c2147c79c0ed1cb54e3ce81371fb33
15 jinja2.directories = xonstat:templates
16 mako.directories = xonstat:templates
17
18 [pipeline:main]
19 pipeline =
20     egg:WebError#evalerror
21     tm
22     XonStat
23
24 [filter:tm]
25 use = egg:repoze.tm2#tm
26 commit_veto = repoze.tm:default_commit_veto
27
28 [server:main]
29 use = egg:Paste#http
30 host = 0.0.0.0
31 port = 6543
32
33 # Begin logging configuration
34
35 [loggers]
36 keys = root, xonstat, sqlalchemy
37
38 [handlers]
39 keys = console
40
41 [formatters]
42 keys = generic
43
44 [logger_root]
45 level = INFO
46 handlers = console
47
48 [logger_xonstat]
49 level = DEBUG
50 handlers =
51 qualname = xonstat
52
53 [logger_sqlalchemy]
54 level = INFO
55 handlers =
56 qualname = sqlalchemy.engine
57 # "level = INFO" logs SQL queries.
58 # "level = DEBUG" logs SQL queries and results.
59 # "level = WARN" logs neither.  (Recommended for production systems.)
60
61 [handler_console]
62 class = StreamHandler
63 args = (sys.stderr,)
64 level = NOTSET
65 formatter = generic
66
67 [formatter_generic]
68 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
69
70 # End logging configuration