thanks,
dean
Dominique Devienne wrote:
A little hackish, but this works...
Redirects the INFO output to VERBOSE. --DD
/** Silent version of <unzip>. */
private static class SilentExpand extends Expand {
public void log(String msg) { super.log(msg, Project.MSG_VERBOSE); }
public void log(String msg, int level) { super.log(msg, (level==Project.MSG_INFO? Project.MSG_VERBOSE: level));
}
} // END class DspModuleInstall.SilentExpand
-----Original Message----- From: Dean Hiller [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 8:27 AM To: [EMAIL PROTECTED] Subject: how to programatically temporarily turn off logging
I have a task that uses the move tasks. How do I turn off logging from the Move task?
I typically will only let the move task log when the user selects
verbose or debug or something. Otherwise, there is just too much
logging coming out of my new ant task.
thanks,
dean
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]