Hello,
could somebody tell me whether the default log format is explained
somewhere? I.e. the exact meanings of the numbers and other data in
lines such as:
[pid: 596|app: 0|req: 24/72] 222.127.73.32 () {50 vars in 1043
bytes} [Wed Jan 14 11:44:29 2015] POST /countries/ => generated 2 bytes
in 149 msecs (HTTP/1.1 200) 3 headers in 112 bytes (1 switches on core 0)
I can make some educated guesses, of course, but would rather not have to.
I have read the section in the documentation [1], which lists the
available options, and found the mail in the archive announcing the
log-format option [2] (cheers for that :) ). In the Git repository I
found the code where the log line is assembled [3], but since it does
not simply use the documented variables, it's not directly documenting
itself. Before I start digging in the code, did I miss the docs?
If not, I'd try to come up with a patch for the documentation. Does that
make sense?
Cheers,
murat
[1] https://uwsgi-docs.readthedocs.org/en/latest/LogFormat.html
[2] http://lists.unbit.it/pipermail/uwsgi/2012-July/004463.html
[3] https://github.com/unbit/uwsgi/blob/master/core/logging.c#L715
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi