public final class LogConfiguration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class | LogConfiguration.Parameters
Defines the parameters used for WCS Logging Service configuration
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier | Constructor and Description |
---|---|
protected | LogConfiguration()
Constructor for LogConfiguration .
|
Modifier and Type | Method and Description |
---|---|
static void | _main(java.lang.String[] args)
Runs a testing.
|
void | disableLoadingXMLNode()
Disables loading the XML node
|
protected void | enableLoadingXMLNode()
Enables loading the XML node
|
org.w3c.dom.Node | getConfigNode()
Returns the configuration node return configuration node
|
boolean | getJrasEnabled()
Gets the jrasEnabled.
|
LogFile | getLogFile()
Returns the log file implementation to write the log.
|
java.util.Vector | getProperties(java.lang.String propertyKey)
Returns Vector of properties based on the specified key
|
static LogConfiguration | getUniqueInstance()
Gets a unique instance of LogConfiguration.
|
void | initialize(java.io.InputStream xmlConfigFileName, java.lang.String instanceName)
Initializes the log configuration by parsing the XML.
|
void | initialize(java.io.InputStream xmlConfigFileName, java.lang.String instanceName, boolean jras)
Initializes the log configuration by parsing the XML
|
void | initialize(java.lang.String xmlConfigFileName)
Initializes the log configuration.
|
void | initialize(java.lang.String xmlConfigFileName, LogFile logFile)
Initializes the log configuration.
|
void | initialize(java.lang.String xmlConfigFileName, java.lang.String instanceName)
Initializes the log configuration by parsing the XML.
|
void | initialize(java.lang.String xmlConfigFileName, java.lang.String instanceName, boolean jras)
Initializes the log configuration by parsing the XML
|
static void | main(java.lang.String[] args)
Runs a testing.
|
void | messageEnable(boolean enable)
Loads the status of message logging.
|
void | reset()
Reset the logging facility to pickup the new changes.
|
void | setCompactFormat(boolean enableCompact)
Sets the compact format of message log.
|
void | setConfigNode(org.w3c.dom.Node newConfigNode)
Sets the configuration node.
|
void | setFileDateStamped(java.lang.String enabled)
Sets whether the file should be date stamped when created.
|
void | setInstanceName(java.lang.String instanceName)
Sets the instance name.
|
void | setJrasEnabled(boolean jrasEnabled)
Sets the JRas enabled status.
|
void | setLogFile(LogFile file)
Sets the log file implementation.
|
void | setLogFileName(java.lang.String logFileName)
Sets the file name of the log file.
|
void | setLogFileSize(long MBsize)
Sets the file size of the Log file
|
void | setLogSeverity(java.util.Vector severities)
Sets the message logging severities.
|
void | setNotificationClassName(java.lang.String className)
Sets the notification class name.
|
void | setNotificationEnable(boolean enableNotification)
Sets the status of error notification.
|
void | setTraceComponents(java.util.Vector components)
Sets the status of tracing components.
|
void | setTraceFileName(java.lang.String logFileName)
Sets the file name of the Trace file.
|
void | setTraceFileSize(long MBsize)
Sets the file size of the Trace file.
|
void | traceEnable(boolean enable)
Sets the status of tracing subsystem.
|
public static final java.lang.String COPYRIGHT
public void disableLoadingXMLNode()
protected void enableLoadingXMLNode()
public org.w3c.dom.Node getConfigNode()
public java.util.Vector getProperties(java.lang.String propertyKey)
public static LogConfiguration getUniqueInstance()
public void initialize(java.lang.String xmlConfigFileName)
public void initialize(java.lang.String xmlConfigFileName, LogFile logFile)
public void initialize(java.lang.String xmlConfigFileName, java.lang.String instanceName)
public void initialize(java.io.InputStream xmlConfigFileName, java.lang.String instanceName)
public void initialize(java.lang.String xmlConfigFileName, java.lang.String instanceName, boolean jras)
public void initialize(java.io.InputStream xmlConfigFileName, java.lang.String instanceName, boolean jras)
public static void _main(java.lang.String[] args)
public static void main(java.lang.String[] args)
public void messageEnable(boolean enable)
public void setCompactFormat(boolean enableCompact)
public void setConfigNode(org.w3c.dom.Node newConfigNode)
public void setInstanceName(java.lang.String instanceName)
public void setLogFileName(java.lang.String logFileName)
public void setLogFileSize(long MBsize)
public void setLogSeverity(java.util.Vector severities)
public void setNotificationEnable(boolean enableNotification)
public void setNotificationClassName(java.lang.String className)
public void setFileDateStamped(java.lang.String enabled)
public void setTraceComponents(java.util.Vector components)
public void setTraceFileName(java.lang.String logFileName)
public void setTraceFileSize(long MBsize)
public void traceEnable(boolean enable)
public boolean getJrasEnabled()
public void setJrasEnabled(boolean jrasEnabled)
public void reset()
public LogFile getLogFile()
public void setLogFile(LogFile file)