uwsgi-docs icon indicating copy to clipboard operation
uwsgi-docs copied to clipboard

json log-req-encoder does not seem to work

Open muayyad-alsadi opened this issue 7 years ago • 0 comments
trafficstars

the following works

req-logger = file:/tmp/out.log
log-format = %(addr) - %(user) [%(ltime)] "%(method) %(uri) %(proto)" %(status) %(size) "%(referer)" "%(uagent)"

changing it to

req-logger = file:/tmp/out.log
log-req-encoder = json

expected result a json with all of addr, user, ...etc. actual result nothing logged

muayyad-alsadi avatar Nov 19 '18 14:11 muayyad-alsadi