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