tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: Serializable Logging implementation
Date Wed, 15 Sep 2004 11:08:51 GMT
logging instances should be static to the class.

// Commons logging example but a log4j equiv should be easy to find
     private static Log log = LogFactory.getLog(MyClass.class);


Antony Paul wrote:

> Hi,
>     I used Log4J and commons logging in an ActionForm which is stored in the
> session. When I reload the context it is invalidating the session because it
> is non serializable. Is there any work around for this ?. Or do I have to
> use any other Logger.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message