tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <>
Subject Observations on catalina logging
Date Sun, 27 May 2001 12:01:04 GMT


In case catalina decides to use log4j as its logging API, here is a
series of observations.

1) Thanks to the separation of loaders, it is possible to keep
catalina logging separate from user (servlet) logging even of both
catalina and user servlets use log4j.

2) Logging code in catalina needs to modified to use log4j. The
existing concept of context logging can be replaced by categories.

3) Existing logging configuration instructions need to be converted to
log4j configuration files. Log4j currently supports config files in
XML or key=value (properties) format. As XML is a prerequisite for catalina, you'd probably
want to use XML config files for log4j. 

4) In case a single category hierarchy does not provide sufficient
flexibility, it is possible to work with multiple category
hierarchies. Each hierarchy can be configured using a distinct
configuration file.

That's it for now. Best regards, Ceki

Ceki Gülcü

View raw message