[OpenAFS] Fileserver logfile size limit
Rainer Toebbicke
rtb@pclella.cern.ch
Tue, 31 Mar 2009 12:01:26 +0200
Lars Wilke schrieb:
>
> Another question is, how do i do logrotation.
> By which means do i get the fileserver to close
> the old log and open a new one. Can i use SIGTERM
> or some other signal here?
>
You can just "mv" the fileserver log to something else. For a while, it'll
write into the old file which is still open, every now and then it'll close it
and at that point re-open a new one.
Don't know if anything forces the switch to the new one.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rainer Toebbicke
European Laboratory for Particle Physics(CERN) - Geneva, Switzerland
Phone: +41 22 767 8985 Fax: +41 22 767 7155