-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Benson,
On 9/14/12 12:12 PM, Benson Margulies wrote:
> Apologies for the accidental use of HTML.
>
> The problem below is triggered by the facts that:
>
> a) spring-web contains a ServletContainerInitializer b) even with
> metadata-complete, tomcat does annotation scanning once it sees one
> of those c) In my embedded environment, there's a lot of real
> estate to potentially scan in the classpath.
>
> Is (b) really correct?
>
> Unfortunately, I need spring-web in order to get the log4j
> support, even though I don't want any of that other stuff in
> there.
Using Spring to get log4j support seems ... heavy-handed. Why not just
use log4j directly? Configuring the logging system is dead simple:
there is no dependency-injection or anything else like that which
Spring can provide for you.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlBXTzMACgkQ9CaO5/Lv0PCgRgCgq9tnaVcurxs9c7BCjxrPDUBm
Zw4An3MifnvCml+nkSJhFqic3un3ZB11
=ALVp
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|