tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: And even further into the black magic of logging configuration within tomcat...
Date Mon, 06 Apr 2009 21:52:02 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan,

On 4/6/2009 5:42 PM, Dan Armbrust wrote:
> System.setProperty("log4j.defaultInitOverride", "true");
> 
> And also, since this is a global JVM variable, one webapp setting this
> property would affect the behaviour of other webapps - but again, it
> would be order dependant.

Ugh. That'll do it. You might want to suggest to the log4j guys that
    -Dlog4j.debug=true
 +
    -Dlog4j.defaultInitOverride=true
 =
    Warning message that default initialization is disabled due to the
    presence of the log4j.defaultInitOverride System property

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknaeYIACgkQ9CaO5/Lv0PD6DgCfcH7FaxCwDCDZfRYjHaeqR2X4
o6YAn1IAsalPe7ZEvMFm4CkBvj+lJBmh
=VXY8
-----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