Date: Thu, 01 Apr 2004 16:53:19 -0500 From: James Housley <jim@thehousleys.net> To: freebsd-hackers@freebsd.org Subject: Loosing STDOUT after file rotation Message-ID: <406C8F4F.1040306@Thehousleys.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] I have a program that I have the is supposed to run forever. I log any output to a log file. It is run in a startup script like thie: program_name >> $err_log 2>&1 The problem is that after newsyslog rotates the $err_log file, no more data is written to the file. I can not stop and restart the program. I can accept a signal. But what do I need to do in "program_name" to allow the data to be written after the "rotation" of the file. Thanks, Jim -- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- The wise man built his network upon Un*x. The foolish man built his network upon Windows. [-- Attachment #2 --] 0 *H 010 + 0 *H #00U0 *H 0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 040131191100Z 050130191100Z0^10UHousley10U*James10U James Housley1"0 *H jim@thehousleys.net0"0 *H 0 %k7o_tg?@<_P.Eh;_{)SӻNKH)'M(W_w%ވ,UnJ13{ ㎊t [lBg]ѢbkKZ3OXmuq2$=d8ݨiܠc[)"(Vln嗛xRE%H%'zm6;!nij0$c` wӁX ᝐCs 00.0U0jim@thehousleys.net0U0 0 *H }Nrx4Ae+d)?O}ibqWSVَUր 0QjL*m$A "Vs̱8~`0e&q$5]%ړN00U0 *H 0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 040131191100Z 050130191100Z0^10UHousley10U*James10U James Housley1"0 *H jim@thehousleys.net0"0 *H 0 %k7o_tg?@<_P.Eh;_{)SӻNKH)'M(W_w%ވ,UnJ13{ ㎊t [lBg]ѢbkKZ3OXmuq2$=d8ݨiܠc[)"(Vln嗛xRE%H%'zm6;!nij0$c` wӁX ᝐCs 00.0U0jim@thehousleys.net0U0 0 *H }Nrx4Ae+d)?O}ibqWSVَUր 0QjL*m$A "Vs̱8~`0e&q$5]%ړN0?0 0 *H 010 UZA10UWestern Cape10U Cape Town10U Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H personal-freemail@thawte.com0 030717000000Z 130716235959Z0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00 *H 0 Ħ<UsUNʙZhup[v:aQP 0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380 *H HP. fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1;070i0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 + 0 *H 1 *H 0 *H 1 040401215319Z0# *H 14$K̪qm%.Y0R *H 1E0C0 *H 0*H 0 *H @0+0 *H (0x +71k0i0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0z*H 1ki0b10 UZA1%0#U Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0 *H ;U.)nk<$% WV}l+Hp%<>l!<mԏmI6 oCY8ШGp%l}UQ{g=xjMqtSĩ!@P!`rXtE~#0M ɌF~}x:Z@ P08O|F -EM z8ڰb?Lho~iU38& 3' iDWT"%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?406C8F4F.1040306>
