##// END OF EJS Templates
gunicorn: update config to present consistent pre and post logs.
marcink -
r2542:2daa9cc8 default
parent child Browse files
Show More
@@ -55,6 +55,7 b' keepalive = 2'
55
55
56 # SERVER MECHANICS
56 # SERVER MECHANICS
57 # None == system temp dir
57 # None == system temp dir
58 # worker_tmp_dir is recommended to be set to some tmpfs
58 worker_tmp_dir = None
59 worker_tmp_dir = None
59 tmp_upload_dir = None
60 tmp_upload_dir = None
60
61
@@ -121,7 +122,7 b' def child_exit(server, worker):'
121 def pre_request(worker, req):
122 def pre_request(worker, req):
122 worker.start_time = time.time()
123 worker.start_time = time.time()
123 worker.log.debug(
124 worker.log.debug(
124 "GNCRN PRE WORKER: %s %s", req.method, req.path)
125 "GNCRN PRE WORKER [cnt:%s]: %s %s", worker.nr, req.method, req.path)
125
126
126
127
127 def post_request(worker, req, environ, resp):
128 def post_request(worker, req, environ, resp):
General Comments 0
You need to be logged in to leave comments. Login now