I tend to deploy S2 in commons/lib only because I use S2 in all of my
web-apps. It saves space and keeps WEB-INF/lib a little more organized. Not
that I wouldn't change, it's just the way I've done it.

-Wes

On 7/8/07, Rene Gielen <[EMAIL PROTECTED]> wrote:

Very interesting article, indeed. Both WW and S2 use static loggers, as
it was always considered best practice...

On the other hand, the problem only applies if a shared classloader is
used, and I can hardly imagine a setup where struts jars are deployed
eg. in $CATALINA/commons/lib rather than being provided with the
deployed webapp. Is there any situation where we would recommend sharing
s1/s2/xw among applications, or where it really makes sense? Even if
calling Logger.getLog is not a real performance killer, I would prefer
to call it not on every single object instance creation if there is no
serious, non-exotic reason...

Regards,
Rene

Paul Benedict schrieb:
> Simon was correct and I believe this should be addressed. Does anyone
> have objections or advice on this issue? How about you WW guys? Have you
> been doing the same static logging?
>
> Wendy Smoak wrote:
>> On 7/6/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
>>
>>> Has anyone ever read this?
>>> http://wiki.apache.org/jakarta-commons/Logging/StaticLog
>>
>> Did you check the archives?  Simon mentioned it well over a year ago,
>> with no replies:
>>
http://www.nabble.com/commons-logging-and-static-log-members-t1244201.html
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Wesley Wannemacher
President, Head Engineer/Consultant
WanTii, Inc.
http://www.wantii.com

Reply via email to