java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.enableit.db.ant.Log4jConfigTask
- public class Log4jConfigTask
- extends org.apache.tools.ant.Task
Configure Log4J from a property file.
- Version:
- __VERSION__
|
Method Summary |
void |
execute()
The Ant-defined execute method must be implemented by subclasses. |
void |
setPropertyFile(java.lang.String propertyFile)
Sets the name of the Property file to configure with. |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertyFile
protected java.lang.String propertyFile
- The name of the Log4J Property file.
logger
protected static org.apache.log4j.Logger logger
- The Log4J
Logger doing the logging.
Log4jConfigTask
public Log4jConfigTask()
- Default Constructor
setPropertyFile
public void setPropertyFile(java.lang.String propertyFile)
- Sets the name of the Property file to configure with.
execute
public void execute()
throws org.apache.tools.ant.BuildException
- The Ant-defined
execute method must be implemented by subclasses.