Add jinja2 default directory.
[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:5433/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 = 433fa4b080c2147c79c0ed1cb54e3ce81371fb34
15 jinja2.directories = xonstat:templates
16
17 [pipeline:main]
18 pipeline =
19     egg:WebError#evalerror
20     tm
21     XonStat
22
23 [filter:tm]
24 use = egg:repoze.tm2#tm
25 commit_veto = repoze.tm:default_commit_veto
26
27 [server:main]
28 use = egg:Paste#http
29 host = 0.0.0.0
30 port = 6543
31
32 # Begin logging configuration
33
34 [loggers]
35 keys = root, xonstat, sqlalchemy
36
37 [handlers]
38 keys = console
39
40 [formatters]
41 keys = generic
42
43 [logger_root]
44 level = INFO
45 handlers = console
46
47 [logger_xonstat]
48 level = DEBUG
49 handlers =
50 qualname = xonstat
51
52 [logger_sqlalchemy]
53 level = INFO
54 handlers =
55 qualname = sqlalchemy.engine
56 # "level = INFO" logs SQL queries.
57 # "level = DEBUG" logs SQL queries and results.
58 # "level = WARN" logs neither.  (Recommended for production systems.)
59
60 [handler_console]
61 class = StreamHandler
62 args = (sys.stderr,)
63 level = NOTSET
64 formatter = generic
65
66 [formatter_generic]
67 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
68
69 # End logging configuration