ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: how to programatically temporarily turn off logging
Date Mon, 25 Aug 2003 13:47:21 GMT
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:dean@xsoftware.biz]
> Sent: Monday, August 25, 2003 3:27 PM
> To: dev@ant.apache.org
> 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: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message