You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2020/03/01 19:26:12 UTC

Re: Host based logging

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Alexander,

On 2/29/20 11:32, Alexander Curvers wrote:
> HI i know. that comment block was just an example, my real config
> has several host sections, none of them with commented blocks I
> should over un-commented before i posted here on the mailinglist
> to prevent confusion. Its really about host, and perhaps headers.

Have you enabled the RemoteIPValve[1]?

- -chris

[1]
http://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Remote_IP_Valv
e

> On Sat, 29 Feb 2020 at 14:04, Konstantin Kolinko
> <kn...@gmail.com> wrote:
>
>> сб, 29 февр. 2020 г. в 15:33, Alexander Curvers
>> <ac...@gmail.com>:
>>>
>>> <!-- <Valve
>>> className="org.apache.catalina.valves.AccessLogValve"
>>> directory="logs" prefix="as_access_log" suffix=".txt"
>>> pattern="%h %l %u %t &quot;%r&quot; %s %b"/> -->
>>
>> Note the "<!--" and "-->". Those are comment wrappers in XML. The
>> above <Valve> definition is commented-out and thus is ignored.
>>
>> ---------------------------------------------------------------------
>>
>>
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl5cDFMACgkQHPApP6U8
pFgjLhAAoe4yBKMBf47ec/XxfDLr/bix6v4hdSmtAH1SEOAivwhDYiASsOaWr7Na
NrKVjuN1i7RPxsB+UUvq9ryZhVVgGI15GN76jhhUNM64ckL+y/il0qF0YD388+e6
Msnb8GCv/is4ucLaPh+qiMSITySp4vQNHgBgOVhqxZCdaBooje5AyUdQJptHiiad
qK5Gfqyh34nGqcYpOwXEpA9rG6MJynRx+MFWzybeFH3ya4y45W01sS4UpS5YWjEA
4vVzd1qBEd3gGpYcQCERvOI1SqDycOgYy2RmR4RpEqvt3xxRwxwsAzk5wBwViCc7
0IXvbc5pE5iezVXsYNHRYsZbmiNUXWqnvY7uet1QZjIh36PqajfSGmoTFiMD/Ibq
Y+GP6dvlQgkRYv1GBvdhABCSo5JsXhW+xu3uJcTRZhZMrPHEeH3uacyGCESF6a5S
lyHbgxaOTh4FEBW0EHs5ITcTKGnBmjotBPSebDpIvYoHCJehJVchEDrUQXtXL8+y
C43IaKVSiyCsMYvivepAR/39YPbhg6tBzX0ns3rbn8pW72B+4KB0NlED/MwJ3qPG
XOZjfMJxSEnSqCJEJh4SLOIfna5hqHr809Cu504I2xVX6j5A0utc7KChXFiJV2um
wGZfk4o87iUtNk7/iMdIOLIid4U6/aU0hquImovQSMeq9rQBjws=
=XhJ/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org