com.ibm.di.log
Class LogUtils

java.lang.Object
  extended by com.ibm.di.log.LogUtils

public class LogUtils
extends Object


Field Summary
static String APPENDER
           
static Hashtable APPENDERS_FORM
           
static String CATEGORY_BASED
           
static String CATEGORY_NAME
           
static Vector customAppenders
           
static String JLOG_LEVEL
           
static String[] JLOGLEVELS
           
static String LAYOUT
           
static String[] LEVELS
           
static String LOG_LEVEL
           
static String LOGGING_INTERFACE
           
 
Constructor Summary
LogUtils()
           
 
Method Summary
static boolean addAppenders(org.apache.log4j.Logger log, LogConfig config, Object[] params, RSInterface configInstance)
          Deprecated.  
static boolean addLoggers(String type, String name, Log log, LogConfig config, RSInterface configInstance)
           
static org.apache.log4j.Appender createAppender(String type, String name, org.apache.log4j.Logger log, LogConfigItem config, Object[] substitute, RSInterface configInstance)
          Deprecated.  
static String getAppenderClass(String name)
           
static String getAppenderName(String className)
           
static String[] getAppenders()
           
static String getLayoutClass(String name)
           
static String getLayoutName(String className)
           
static String[] getLayouts()
           
static boolean isCustomAppender(String aAppender)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEVELS

public static String[] LEVELS

JLOGLEVELS

public static String[] JLOGLEVELS

LOG_LEVEL

public static final String LOG_LEVEL
See Also:
Constant Field Values

JLOG_LEVEL

public static final String JLOG_LEVEL
See Also:
Constant Field Values

LAYOUT

public static final String LAYOUT
See Also:
Constant Field Values

APPENDER

public static final String APPENDER
See Also:
Constant Field Values

LOGGING_INTERFACE

public static final String LOGGING_INTERFACE
See Also:
Constant Field Values

CATEGORY_BASED

public static final String CATEGORY_BASED
See Also:
Constant Field Values

CATEGORY_NAME

public static final String CATEGORY_NAME
See Also:
Constant Field Values

APPENDERS_FORM

public static final Hashtable APPENDERS_FORM

customAppenders

public static final Vector customAppenders
Constructor Detail

LogUtils

public LogUtils()
Method Detail

isCustomAppender

public static boolean isCustomAppender(String aAppender)

getAppenders

public static String[] getAppenders()

getLayouts

public static String[] getLayouts()

getAppenderClass

public static String getAppenderClass(String name)

getAppenderName

public static String getAppenderName(String className)

getLayoutClass

public static String getLayoutClass(String name)

getLayoutName

public static String getLayoutName(String className)

addLoggers

public static boolean addLoggers(String type,
                                 String name,
                                 Log log,
                                 LogConfig config,
                                 RSInterface configInstance)
                          throws Exception
Throws:
Exception

addAppenders

public static boolean addAppenders(org.apache.log4j.Logger log,
                                   LogConfig config,
                                   Object[] params,
                                   RSInterface configInstance)
                            throws Exception
Deprecated. 

Throws:
Exception

createAppender

public static org.apache.log4j.Appender createAppender(String type,
                                                       String name,
                                                       org.apache.log4j.Logger log,
                                                       LogConfigItem config,
                                                       Object[] substitute,
                                                       RSInterface configInstance)
                                                throws Exception
Deprecated. 

This method is deprecated, and always returns null

Throws:
Exception