-
Notifications
You must be signed in to change notification settings - Fork 2
/
production.ini
51 lines (48 loc) · 1.08 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
[DEFAULT]
debug = false
email_to = [email protected]
error_email_from = paste@localhost
[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 3160
[app:main]
use = egg:np
full_stack = true
static_files = true
cache_dir = %(here)s/data
beaker.session.key = np
beaker.session.secret = lb2fLgYh1eXQyx5E0mOSaDHCZin78RFN
# sqlalchemy.url = sqlite:///%(here)s/production.db
sqlalchemy.url = postgresql://np:AyfNFioDbFJDNyjaQK3xHDtUZIcHdU0b@localhost/np
safe_path = %(here)s/.production.cfg
storage_path = %(here)s/data/production
[loggers]
keys = root, routes, np, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = WARN
handlers = console
[logger_routes]
level = WARN
handlers =
qualname = routes.middleware
[logger_np]
level = WARN
handlers =
qualname = np
[logger_sqlalchemy]
level = WARN
handlers =
qualname = sqlalchemy.engine
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s
datefmt = %H:%M:%S