That's great about Java. I am going the other way, from JCL to the new log4j: http://logging.apache.org/log4j/docs/ugli.html
.V
[EMAIL PROTECTED] wrote:
Today I find myself converting an existing webapp from using Log4J directly to using JCL instead. As per the JCL User's Guide, I'm creating a private static Log variable in all my classes, Struts Actions included.
My question is, why is this OK? Static variables in Actions are a Bad Thing, that's a ell-known fact, but why is a Log instance an exception to this rule?
Is it only a bad thing to have static members that might be updated? Is that the difference here?
Thanks all!
------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Forums, Boards, Blogs and News in RiA <http://www.boardVU.com>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

