dev@glassfish.java.net

[V3] Question about LogStrings.properties

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Mon, 25 Aug 2008 17:00:09 -0700

The logging resource bundle files for the web, ejb, and appclient
containers currently all reside in common/common-util:

  
src/main/java/com/sun/logging/enterprise/system/container/appclient/LogStrings.properties

  
src/main/java/com/sun/logging/enterprise/system/container/ejb/mdb/LogStrings.properties

  
src/main/java/com/sun/logging/enterprise/system/container/ejb/LogStrings.properties

  
src/main/java/com/sun/logging/enterprise/system/container/web/LogStrings.properties


I believe the plan is to move them into their respective container
modules (i.e., to web/web-glue in the case of the web container)?

Is the plan for loggers to still be acquired by a call to
com.sun.logging.LogDomains.getLogger()?

If so, we need to:

- Fix its getResourceBundle() method, which currently returns null

- Come up with a package naming convention for the LogStrings.properties
  in the individual container modules, so that LogDomains.getLogger() will
  be able to derive the fully qualified resource name of
  LogStrings.properties for a given Logger

I'd like to help with this, since none of the web container log message keys
are getting expanded to corresponding log messages right now.

Thanks,

Jan