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