public class LogConfigurationTask
extends org.apache.tools.ant.Task
The log configuration ANT task takes the following parameters:
The two possible ways to call the log configuration ANT task is as follows.
or
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
LogConfigurationTask()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
void | execute()
This method initializes the EC log and trace configuration.
|
java.lang.String | getConfigurationFile()
This method gets the configuration file that contains the log system configuration.
|
java.lang.String | getFileDateStamped()
This method gets whether the file should be created with a date stamp.
|
java.lang.String | getLogFile()
This method gets the name of the log file.
|
java.lang.String | getLogFileSize()
This method gets the maximum size of the log file.
|
java.lang.String | getLogSeverity()
This method gets the log severities to record.
|
java.lang.String | getNotificationClassName()
This method gets the notification class name.
|
java.lang.String | getNotificationEnabled()
This method gets whether notification is enabled.
|
java.lang.String | getTraceComponents()
This method gets the different tracing component to trace.
|
java.lang.String | getTraceFile()
This method gets the name of the trace file.
|
java.lang.String | getTraceFileSize()
This method gets the maximum size of the trace file.
|
void | setConfigurationFile(java.lang.String configurationFile)
This method sets the name of the configuration file that contains the log system configuration.
|
void | setFileDateStamped(java.lang.String fileDateStamped)
This method sets whether the date should be appended when the file is created.
|
void | setLogFile(java.lang.String logFile)
This method sets the name of the log file.
|
void | setLogFileSize(java.lang.String fileSize)
This method sets the maximum log file size.
|
void | setLogSeverity(java.lang.String logSeverity)
This method sets the log severities to record.
|
void | setNotificationClassName(java.lang.String notificationClassName)
This method sets the notification class name that is used to send notifications.
|
void | setNotificationEnabled(java.lang.String enabled)
This method sets whether notification is enabled.
|
void | setTraceComponents(java.lang.String traceComponents)
This method sets the tracing components to enable.
|
void | setTraceFile(java.lang.String traceFile)
This method sets the name of the trace file.
|
void | setTraceFileSize(java.lang.String traceFileSize)
This method sets the maximum size of the trace file.
|
public static final java.lang.String COPYRIGHT
public LogConfigurationTask()
public void execute() throws org.apache.tools.ant.BuildException
public java.lang.String getConfigurationFile()
public java.lang.String getFileDateStamped()
public java.lang.String getLogFile()
public java.lang.String getLogFileSize()
public java.lang.String getLogSeverity()
public java.lang.String getNotificationClassName()
public java.lang.String getNotificationEnabled()
public java.lang.String getTraceComponents()
public java.lang.String getTraceFile()
public java.lang.String getTraceFileSize()
public void setConfigurationFile(java.lang.String configurationFile)
public void setFileDateStamped(java.lang.String fileDateStamped)
public void setLogFile(java.lang.String logFile)
public void setLogFileSize(java.lang.String fileSize)
public void setLogSeverity(java.lang.String logSeverity)
public void setNotificationClassName(java.lang.String notificationClassName)
public void setNotificationEnabled(java.lang.String enabled)
public void setTraceComponents(java.lang.String traceComponents)
public void setTraceFile(java.lang.String traceFile)
public void setTraceFileSize(java.lang.String traceFileSize)