tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: In Tomcat JULI, do the 'facility specific' loggers become per-webapp logger roots?
Date Wed, 09 Oct 2013 12:33:12 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

David,

On 10/8/13 11:03 PM, David Bullock wrote:
> Please answer at Stackoverflow, and I'll report the results back to
> this list:
> 
http://stackoverflow.com/questions/19261727/in-tomcat-juli-do-the-facility-specific-loggers-become-per-webapp-logger-root

Um, no.

If you want to ask this community, then ask here. If you prefer the SO
community, ask there. Feel free to ask both. But don't come here and
tell us to go somewhere else to help you.

> This intent behind this question is very similar to that asked in
> 2011: "How to externalize a webapp's logging.properties?", but it
> was never adequately answered:
> 
> http://marc.info/?l=tomcat-user&m=131831958930163&w=2

The answer was "no, you can't do that". When you say "adequately" do
you mean "to your satisfaction" (i.e. you wanted the answer to be
"yes") or that it wasn't actually answered. Becaue Konstantin Kolinko
did answer in no uncertain terms. He also gave some suggestions for
where to look to maybe hack your way to a working solution. Dan used
one of those suggestions to effect a working solution.

> In general, I'm really grumpy when I have to unpack a WAR and
> fiddle with some files **each time** I deploy it.  If there is some
> more-general mechanism for allowing a deployer (remember those
> things called 'roles' from the EJB 1.0 spec, anyone?) to override
> configuration settings which have unfortunately been embedded in
> the WAR file, I'd **love** to know about it.  I haven't spotted
> anything about this in the Tomcat doco so far.

Virtual. Class. Loader. Or "Resources", depending upon your Tomcat
version.

Or, fix your packaging and/or deployment so that it builds the correct
WAR file for your environment. I know this isn't always possible,
especially for mass-distributed webapps where the developer doesn't
control the target environment.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSVU0GAAoJEBzwKT+lPKRYUTYP/1BcmrEtNl8qayVXyay85hAu
aYQsfzd0lxmtf1m0MSnh2llmVQUCsQUjC2PozDqmxl44wFBXUJaUaKVMRZybaLJ6
Nn/elxzqfma3YzPHWiRcwKkHDKkwqRUPCujrlyqf2ZU+ap2U/ct8SQE/ehDVStLo
XKiJ8pQYyerHK/ZzbXXgjO1uDj7AEGOlqfzbIPrKm3eUARFkNAOkPpkObkA7bThc
GxyixZ3SL6Vfjk0EZKipmjxarBisVo4NGhbav18u1FfCCktM4F/J5Kr78VVfy63c
MfsSDjY+FgYLbcoklqHV1uVqW5R5rTkK1ZA5LIg3xjJ6ZePFf1YbkIbFKuTFZ9Pa
stu+qY2XtVTvWhNS6h0rC0+YJhRrrEpsE2h4zq715uS1w4yxvn+x4fTxmR+J7WJP
eX/7Bw8Mb9sVJMia3+82yd4mhdcbr5fMwj635SqY1XUXn96tFc4gZAewpnG3rNsq
JWq29YacNbHx8d9V2XDCaJi2Eyxs99Rj2sPJcEZj3lQZ7noqj/rs30MjAwEBnLzB
oN2hpp4qmeRxBq0gkddsrJLOHvJUWs2tmmcmnc96EpH0+WgVkR3FthoucHF2Qthc
G0SfgsBURWbhoyLP9jjq+Aw8vzinyel0gOkBCCkoDmcFuvuSZWJ1szaKMstPmRMX
uPhekGt5l15IEZqGYArs
=l2Cb
-----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