On 26 August 2015 at 12:55, Roberto De Ioris <[email protected]> wrote: > > in the past it was not possible, but with the current code-base maybe it > is a matter of exposing wsgi_req->app_id and the two counters
Should I add an issue to the github repo? At the least, though, I think including the nearly complete default log format to http://uwsgi-docs.readthedocs.org/en/latest/LogFormat.html would be very helpful to other users (it would have saved me a bunch of time): logformat = [pid: %(pid)|app: ??|req: ??/??] %(addr) (%(user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core)) The above is modified slightly from my last email. I was curious about the "()" so after looking at the source code it looks like it should contain %(user). However, %(user) returns '-' when there's no user where the default log returns an empty string. _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
