Feature #2840
accesslog.format remote_port
100%
Description
Hi,
I need to store the remote_port in the accesslog, the docs don't provide a proper way to do this here:
https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAccesslog
Searching for remote_port the only code I find in the source:
$ grep REMOTE_PORT * -R
NEWS: * added REMOTE_PORT and SERVER_ADDR to CGI-env
src/http-header-glue.c: rc |= cb(vdata, CONST_STR_LEN("REMOTE_PORT"), buf, strlen(buf));
src/server.c: * NCAT_REMOTE_ADDR NCAT_REMOTE_PORT
So I don't think this is build in the mod_accesslog, at least I didn't find it in the source code.
Does anyone know how to do this or knows a way to do it?
Both Apache and Nginx provides it but I would like to stick to Lighttpd.
Thanks in advance.
Associated revisions
History
Updated by gstrauss 5 months ago
- Status changed from Patch Pending to Fixed
- % Done changed from 0 to 100
Applied in changeset 9f02df2d3973be12cc832c7a3d1e27bba13ef1f4.
Also available in: Atom
[mod_accesslog] %{canonical,local,remote}p (fixes #2840)
x-ref:
"accesslog.format remote_port"
https://redmine.lighttpd.net/issues/2840