Re: tomcat7 does not log x-forwarded-for

2020-04-12 Thread Frank Tornack
hello all, unfortunately, I haven't been able to find a clue as to what I'm doing wrong. Currently, logging works with the direct entry of the HTTP header. Unfortunately the automatic switching does not work yet. This means that in case of direct requests, I have a minus sign at this position. D

Re: tomcat7 does not log x-forwarded-for

2020-04-03 Thread Frank Tornack
Hello Mark, I could test the change today, unfortunately only with moderate success. The change to %a or %h, unfortunately did not work, but the readout with the header value per %{X-Forwarded-For}i worked. The log doesn't look nice, but we get the value. Nevertheless I am still looking for a nice

Re: tomcat7 does not log x-forwarded-for

2020-04-01 Thread Mark Thomas
On 01/04/2020 06:56, Frank Tornack wrote: > Am Dienstag, den 31.03.2020, 15:47 +0100 schrieb Mark Thomas: >> On 31/03/2020 07:26, Frank Tornack wrote: >>> We used the following configuration for access logging and remote >>> valve: >>> >> internalProxies="xxx\.xxx\.xxx\.7|xxx\.xxx\.xxx\.8|xxx\.x

Re: tomcat7 does not log x-forwarded-for

2020-03-31 Thread Frank Tornack
Good morning all, the answers are [inline]. With kind regards Frank Am Dienstag, den 31.03.2020, 15:47 +0100 schrieb Mark Thomas: > On 31/03/2020 07:26, Frank Tornack wrote: > > Hello all, > > > > I currently have a problem with Tomcat7, or rather a colleague has > > it. > > Personally I would

Re: tomcat7 does not log x-forwarded-for

2020-03-31 Thread Frank Tornack
Good morning all, the answers are [inline]. With kind regards Frank Am Dienstag, den 31.03.2020, 10:08 -0400 schrieb Christopher Schultz: > Frank, > > On 3/31/20 02:26, Frank Tornack wrote: > > I currently have a problem with Tomcat7, or rather a colleague has > > it. > > Which exact version o

Re: tomcat7 does not log x-forwarded-for

2020-03-31 Thread Mark Thomas
On 31/03/2020 07:26, Frank Tornack wrote: > Hello all, > > I currently have a problem with Tomcat7, or rather a colleague has it. > Personally I would like to help him, but I can't find the error myself. > We already asked the question on stackoverflow.com and got a good hint, > but unfortunately

Re: tomcat7 does not log x-forwarded-for

2020-03-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frank, On 3/31/20 02:26, Frank Tornack wrote: > I currently have a problem with Tomcat7, or rather a colleague has > it. Which exact version of Tomcat 7? > Personally I would like to help him, but I can't find the error > myself. We already asked