FileDocCategorySizeDatePackage
LogDomains.javaAPI DocGlassfish v2 API7844Fri May 04 22:32:42 BST 2007com.sun.logging

LogDomains

public class LogDomains extends Object
Class LogDomains

Fields Summary
public static final String
DOMAIN_ROOT
DOMAIN_ROOT the prefix for the logger name. This is public only so it can be accessed w/in the ias package space.
public static final String
PACKAGE_ROOT
PACKAGE_ROOT the prefix for the packages where logger resource bundles reside. This is public only so it can be accessed w/in the ias package space.
public static final String
RESOURCE_BUNDLE
RESOURCE_BUNDLE the name of the logging resource bundles.
public static final String
TOOLS_LOGGER
Field
public static final String
EJB_LOGGER
Field
public static final String
JAVAMAIL_LOGGER
JavaMail Logger
public static final String
JMS_LOGGER
JMS Logger
public static final String
WEB_LOGGER
Field
public static final String
CMP_LOGGER
Field
public static final String
JDO_LOGGER
Field
public static final String
ACC_LOGGER
Field
public static final String
MDB_LOGGER
Field
public static final String
SECURITY_LOGGER
Field
public static final String
TRANSACTION_LOGGER
Field
public static final String
CORBA_LOGGER
Field
public static final String
ROOT_LOGGER
Field
public static final String
UTIL_LOGGER
Field
public static final String
NAMING_LOGGER
Field
public static final String
JNDI_LOGGER
Field
public static final String
APPVERIFY_LOGGER
Field
public static final String
ACTIVATION_LOGGER
Field
public static final String
JTA_LOGGER
Field
public static final String
RSR_LOGGER
Resource Logger
public static final String
DPL_LOGGER
Deployment Logger
public static final String
DPLAUDIT_LOGGER
Deployment audit logger
public static final String
DIAGNOSTICS_LOGGER
Field
public static final String
JAXRPC_LOGGER
JAXRPC Logger
public static final String
JAXR_LOGGER
JAXR Logger
public static final String
SAAJ_LOGGER
SAAJ Logger
public static final String
SELF_MANAGEMENT_LOGGER
Self Management Logger
public static final String
ADMIN_LOGGER
Admin Logger
public static final String
SERVER_LOGGER
Server Logger
public static final String
CORE_LOGGER
core Logger
public static final String
LOADER_LOGGER
classloader Logger
public static final String
CONFIG_LOGGER
Config Logger
public static final String
PROCESS_LAUNCHER_LOGGER
Process Launcher Logger
public static final String
GMS_LOGGER
GMS Logger
Constructors Summary
Methods Summary
public static java.util.logging.LoggergetLogger(java.lang.String name)
Method getLogger

param
name
return

        return Logger.getLogger(name, getLoggerResourceBundleName(name));
    
private static java.lang.StringgetLoggerResourceBundleName(java.lang.String loggerName)
This is temporary and needed so that IAS can run with or without the com.sun.enterprise.server.logging.ServerLogger. The subclassed addLogger() method there automatically appends the logger name.



                                   
               
        String result = loggerName + "." + RESOURCE_BUNDLE;        
        return result.replaceFirst(DOMAIN_ROOT, PACKAGE_ROOT);