-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevelopment.ini
126 lines (94 loc) · 2.31 KB
/
development.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[app:main]
use = egg:ajpmanager
# Beaker_extensions:
full_stack = true
static_files = true
cache_dir = %(here)s/data
beaker.session.type = redis
beaker.session.url:127.0.0.1:6379
beaker.session.key = ajpmanager_key
pyramid.reload_templates = true
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes =
pyramid_debugtoolbar
pyramid_tm
debugtoolbar.hosts = 0.0.0.0/0
#sqlalchemy.url = sqlite:///%(here)s/ajpmanager.db
#ajp.allowed_ips = 127.0.0.1
ajp.allowed_ips = *
ajp.vm_provider = kvm
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 8081
#---------- Server Configuration ----------
#[server:main]
#host = 127.0.0.1
#port = %(http_port)s
#use = egg:PasteScript#cherrypy
#numthreads = 10
#timeout = 180
#request_queue_size = 200
# Begin logging configuration
[loggers]
keys = root, ajpmanager, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_ajpmanager]
level = DEBUG
handlers =
qualname = ajpmanager
[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
[ Beaker cache ]
cache.regions = default_term, second, short_term, long_term
cache.type = memory
cache.second.expire = 1
cache.short_term.expire = 60
cache.default_term.expire = 300
cache.long_term.expire = 3600
#[ Beaker sessions ]
#session.type = file
#session.data_dir = %(here)s/data/sessions/data
#session.lock_dir = %(here)s/data/sessions/lock
#session.type = memory
#session.key = ak11het_demo
#session.secret = 0cb243f53ad865a0f70099c0414ffe9cfcfe03ac
[uwsgi]
socket = /tmp/uwsgi.sock
master = true
processes = 4
harakiri = 60
harakiri-verbose = true
limit-post = 65536
post-buffering = 8192
daemonize = ./uwsgi.log
pidfile = ./pid_5000.pid
listen = 256
max-requests = 1000
reload-on-as = 128
reload-on-rss = 96
no-orphans = true
log-slow = true
virtualenv = /home/antares/Diploma/env
# End logging configuration