tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Question about catalina.out log entries, particularly from VersionLoggerListener
Date Wed, 01 Feb 2017 14:59:31 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

James,

On 1/31/17 8:48 PM, James H. H. Lampert wrote:
> On 1/31/17, 2:32 PM, Christopher Schultz wrote:
>>> But what about the "JVM Version" entry?
>> 
>> That comes directly from the "java.runtime.version" system
>> property, which I believe is read-only. (At least, you can't
>> override it when launching the JVM by providing a value for that
>> property using - -Djava.runtime.version=foobar). So that string
>> is coming from your JVM. It's opaque to Tomcat.
> . . .
>> If you do a "java -version" from the command-line, you'll
>> probably see that string in there, similar to what is shown on
>> this page:
> 
> Thanks. That answered it.
> 
> One other thing: I notice that in a couple of those customer 
> installations, I'm not getting the "VersionLoggerListener" messages
> at all. Is that from some logging level setting?

I can think of a few reasons why those lines might not be in the log:

1. Log level set to higher than INFO
2. VersionLoggerListener is not enabled in server.xml
3. Tomcat version is old enough that VLL isn't included

I suspect it's #2, and that the server.xml configuration pre-dates the
addition of VLL to Tomcat, and nobody ever noticed that it was
available and not configured.

If your customers are anything like me, I don't do a diff on my
server.xml against the stock server.xml unless I'm switching between
major versions of Tomcat. So it would be easy to overlook the addition
of the VersionLoggerListener, which was added to a point-release at
some point to both Tomcat 7 and 8.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYkffTAAoJEBzwKT+lPKRYZQAQALBz3fqpV4dybdFZsSqA4o3N
FxuQHy9W2OCukAfFqUbCyD13ivfhTOWoX8qjp4DaEIjPhTHP9FXBDB6KhFra/95S
4huU0sC1ilaG2Lw5c8aguvf//hCYet8hGXg5sw64zv+mYBFqlW8YrdsllyUt8LvU
vvchUMioi4r1bVoDwH7/RlFoRSFdVKKw7BCNRLnwhDkNnMRXf72pFWvbZnhJIe21
Z1jQAmGFVKA+k9IxdGgPWZuMvd6dkT2+Z8im6Lj+6/NGm5kHZBkxf0tpUE56dSLl
bQZtyregC2HMD+cCofoFo4WVJFFEy3Yf6Flb+MQHUJ4SOOcqBX4WUS2OD8evkwY5
eMfVoEZQbchm9CLUY2BEcDs/le/TSiL1jBsY8fC2lirOAw09EDrHFjl23HDHr4pS
tb7m1ChEd8sgstEYwMw8hH68aYPUkVafH+XAHbz4ofWqVkpOPqEOGl0wxMXV25bU
73iBe+K5Z66Xbs7zCkYvxPaeEGluY1tcvDMhhKSoEqZu6Rlagwc8eJ8LPQqrritX
3quIuSjU9yXLphWWjf9UF4PfUrGDpwf/VpDZOmogPoOtcFiNP7tHYGw2TptIHt+M
NVKcz2+fr4QpXLv4fJq7N4XeZrRS1VUGnBvgtYaxYegjZccMEkAccT+5HW3wYz5H
tFzRJMq+CDGvielyn5sa
=wVRH
-----END PGP SIGNATURE-----

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


Mime
View raw message