Thanks Tom. I was hoping that was the case. This solves an issue that I have not had a chance to get into yet but when I do ... Bret Tom Gilbert wrote: > > * Bret Hughes ([EMAIL PROTECTED]) wrote: > > I have a java program that spits out messages to standard out > > periodically. This program will run indefinetly and when I redirect the > > output the file gets pretty big >10MB after a week or so. There is a > > bunch of debug stuff in there right now and the production version will > > not have quite so much stuff in it but that is another story... > > > > My questions are these: How does the shell handle redirected output? > > Does it just append to the file and not use a copy of the file in > > memory? > > The stuff get's poored straight into the file. No memory overhead > there. > > > Can I use logrotate to manage this file by using the copy/truncate > > function? The ability to email the old file seems pretty cool and would > > be very useful. > > Yeah, logrotate will work fine. (Its designed to be able to rotate > files which are still open and in use by programs). > > > Any Ideas or input would be appreciated. > > > > Bret Hughes > > Tom. > -- > .-------------------------------------------------------. > .^. | Tom Gilbert, England | [EMAIL PROTECTED] | > /V\ |----------------------| www.tomgilbert.freeserve.co.uk | > // \\ | Sites I recommend: `--------------------------------| > /( )\ | www.freshmeat.net www.enlightenment.org slashdot.org | > ^^-^^ `-------------------------------------------------------'
begin:vcard n:Hughes;Bret tel;fax:918.587.0131 tel;work:918.587.0131 x-mozilla-html:FALSE url:www.elevating.com org:Elevating Communications Inc adr:;;PO Box 1323;Tulsa;OK;74101-1323;USA version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Solutionist/President x-mozilla-cpt:;19888 fn:Bret Hughes end:vcard