[FYI] Resin 3.0 - logging and JDK 1.4 dependency

From: Scott Ferguson <ferg@xxx.com>
Date: Mon Sep 16 2002 - 10:32:23 PDT

Resin 3.0 is going to require JDK 1.4, I'm afraid. Since the
stable/production version, Resin 3.1, is planned for Q1 2003, that
shouldn't be too much of a problem for most users.

Related to JDK 1.4 dependency, the Resin 3.0 logging has been integrated
with java.util.logging.*. For example, ServletContext.log() just writes
to the com.caucho.webapp.application log with the warning level.

The cool thing is that logging is web-app based, just like JNDI,
System.out, system properties, etc.

So your web.xml (or resin-web.xml or resin.conf) could contain:

<web-app>
   <log id='com.caucho.sql'>
     <path>WEB-INF/log/sql.log</path>
     <level>fine</level>
     <timestamp>[%Y/%m/%d %H:%M:%S.%s] </timestamp>
   </log>

The sql logging specific to that web-app would go into the
WEB-INF/log/sql.log.

The added benefit, of course, is any application using
java.util.logging.* can be configured in the resin.conf/web.xml.

The current 3.0 snapshot includes the logging integration.

-- Scott
Received on Mon 16 Sep 2002 10:32:23 -0700

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:17:17 PDT