forked from Pylons/pylonshq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduction.ini
112 lines (95 loc) · 2.54 KB
/
production.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[DEFAULT]
email_to = [email protected]
smtp_server = localhost
error_email_from = [email protected]
[app:pylonshq]
use = egg:pylonshq
reload_templates = false
debug_authorization = false
debug_notfound = false
debug_routematch = false
debug_templates = false
default_locale_name = en
mako.directories = pylonshq:templates
mako.module_directory = %(here)s/data/templates
sqlalchemy.url = sqlite:///%(here)s/db.sqlite
session.type = file
session.data_dir = %(here)s/data/sessions/data
session.lock_dir = %(here)s/data/sessions/lock
session.key = pylonshq
session.secret = 7ab61ccaffa6ae2f2471823ca0a40a5c900fa64c
cache.regions = default_term, short_term, moderate_term, long_term
cache.type = memory
cache.short_term.expire = 60
cache.default_term.expire = 900
cache.moderate_term.expire = 1800
cache.long_term.expire = 3600
github.username = Pylons
github.api.user =
github.api.token =
# exception gathering
[filter:errormator_client]
use = egg:errormator_client#error_catcher
debug = false
errormator = true
errormator.server_url = https://api.errormator.com
errormator.api_key = PLANreFJjJNlQwSXcMpLOhKDoLHTzWIc
errormator.server = pylonshq
# 404 gathering
[filter:errormator_header_sniffer]
use = egg:errormator_client#header_sniffer
errormator = true
errormator.server_url = https://api.errormator.com
errormator.api_key = PLANreFJjJNlQwSXcMpLOhKDoLHTzWIc
[filter:weberror]
use = egg:WebError#error_catcher
debug = false
;error_log =
;show_exceptions_in_wsgi_errors = true
;smtp_server = localhost
;error_email = errors@localhost
;smtp_username = janitor
;smtp_password = "janitor's password"
;from_address = paste@localhost
;error_subject_prefix = "Pyramid Error"
;smtp_use_tls =
[pipeline:main]
pipeline =
weberror
errormator_client
errormator_header_sniffer
egg:repoze.tm2#tm
pylonshq
[server:main]
use = egg:PasteScript#cherrypy
host = 127.0.0.1
port = 5210
# Begin logging configuration
[loggers]
keys = root, pylonshq, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_pylonshq]
level = DEBUG
handlers =
qualname = pylonshq
[logger_sqlalchemy]
level = INFO
handlers =
qualname = sqlalchemy.engine
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither. (Recommended for production systems.)
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
# End logging configuration