No idea, but a few thoughts:
- donīt call perform(); instead call execute()
- create a new Project instance with no loggers and call
move.setProject(noLoggerProject)
- maybe you can do something with the Redirector class


Jan




> -----Original Message-----
> From: Dean Hiller [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 25, 2003 3:27 PM
> 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]
> 

Reply via email to