Is this what you are looking for? Inside the target put record tag & and before ending target stop recording.
<record name="record-log.txt" action="start"/> <record name="record-log.txt" action="stop"/> / Regards / Prashant "David Corley \(AT/LMI\)" <[EMAIL PROTECTED]> 08/11/2006 01:32 PM Please respond to "Ant Users List" <user@ant.apache.org> To "Ant Users List" <user@ant.apache.org> cc Subject RE: Logging System I'm sure it's possible subir, but you'll have to write a custom logger/listener to carry it out. /Dave -----Original Message----- From: subir bhaumik [mailto:[EMAIL PROTECTED] Sent: 10 August 2006 14:29 To: user@ant.apache.org Subject: Logging System Hi I am using ant programmitacally for compilation of modules.Its OK. But i want the log for compilation erros in a file.I have tried XmlLogger, DefaultLogger.But these are not showing compilation errors.I want compilation errors to be written in a file not in console. Is it possible by ant programmatically? Regards Subir --------------------------------- Here's a new way to find what you're looking for - Yahoo! Answers --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit us at http://www.polaris.co.in