Bit off topic but.... Of course, on Win systems that don't have tail as standard, you can use http://sources.redhat.com/cygwin/
If you're as lazy as me, create a shortcut on your start menu to tail -f xyz.log and then you can monitor with a single click..... Les. > -----Original Message----- > From: Ken Wood [mailto:[EMAIL PROTECTED] > Sent: 11 March 2001 22:49 > To: [EMAIL PROTECTED] > Subject: Re: how to multiple logging output > > > There is also the old fashioned way.... > Launch your build in the background with logging to a file > say, Xyz.log, and then do "tail -f Xyz.log" to > watch it on screen. If you are on a brain dead > OS that doesn't know how to do a task in > the background, in another window do "tail -f Xyz.log" > > You can have your cake and eat it too... > > Glenn McAllister wrote: > > > > Nicolas GANDRIAU wrote: > > > > > Sorry to ask such a basic question, but is there a way to > launch a build > > > operation with ant > > > ant have the logging info in both a log file and on the screen? > > > > > > I can have each one separatly, but I cannat have the both > > > simultaneously. > > > > At the moment, no. If you want something like that, you > need a custom > > logger that will do what you want. See the class > > org.apache.tools.ant.DefaultLogger for an example. Oh, and > > org.apache.tools.ant.NoBannerLogger is a good example of a > custom logger. > > > > You then use it with the command line > > > > ant -logger your.custom.class.here > > > > to invoke it. > > > > Glenn > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
