If you turn on the NCSA logging, there is a standard format logging line output.

In the provided log4j2.properties, it is switched off by default:

logger.fuseki-request.level                  = OFF

so comment out that line and a NCSA log line is generated which include X-Forwarded-For.

You can direct this to a separate file using log4j2.

For development/debugging, if you run with "-v", all the headers, for request and response, are printed out.

    Andy

On 15/08/2023 08:21, Joachim Neubert wrote:
Hi everybody,

is there a way to log the client ip address (in my case, particularly theĀ  X-Forwarded-For as delivered by the proxy) in the fuseki log file?

Cheers, Joachim

Reply via email to