Date: Wed, 19 May 1999 14:21:42 +0200 (CEST) From: "Raymond Wiker" <raymond@orion.no> To: isdn@FreeBSD.ORG Subject: Re: Rename on SIGUSR1 for isdnd Message-ID: <14146.44246.121151.614077@foobar.orion.no> In-Reply-To: <3742A76C.530D9DEB@scc.nl> References: <m10k0sp-0000fgC@hcswork.hcs.de> <374288D1.8D3F25DD@scc.nl> <37429F87.910F1A95@nl.compuware.com> <3742A76C.530D9DEB@scc.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Marcel Moolenaar writes: > I don't disagree that the daemon should not control policy. It's the > mechanism I'm talking about. > > >From reactions I get the impression that closing and reopening logfiles on > signals to allow for rotation is common practice. For me, just renaming is > common practice. If that doesn't work, only a signal seems the way to go > (again, for me). The fact that isdnd needs both, was just not something I > would describe as something natural (for me, remember :-). Just renaming is *not* sufficient - this only changes the directory entry. If you do not also close and open the file after renaming, you will continue to write to the old file. //Raymond. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14146.44246.121151.614077>