On Sat, 21 Apr 2001, Glenn Nielsen wrote:

> Ceki,
> 
> This is welcome news!
> 
> It isn't clear to me whether the standard servlet API logging methods
> could use log4j behind the scense to do logging.  This would be very
> nice, especially if you could configure log4j logging for each scope
> (Engine, Host, DefaultContext, Context) in server.xml. And even
> configure different destinations for different types of message
> levels.
> 

Whatever logging mechanism is used by
org.apache.catalina.core.ApplicationContext *is* the implementation of the
servlet API logging methods.  Right now, it defers to the Logger of the
corresponding Context, but that would be easy to change if we wanted to
forcibly separate application-generated messages from Catalina-generated
messages.

On the other hand, I've found that having the two message streams be
intermixed can be useful as well - it would be nice to have it either way.

> Regards,
> 
> Glenn
> 

Craig

Reply via email to