Feature #2840
closedaccesslog.format remote_port
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.
Updated by gstrauss about 7 years ago
- Status changed from New to Patch Pending
- Target version changed from 1.4.x to 1.4.49
Updated by gstrauss about 7 years ago
- Status changed from Patch Pending to Fixed
- % Done changed from 0 to 100
Applied in changeset 9f02df2d3973be12cc832c7a3d1e27bba13ef1f4.
Also available in: Atom