On Tue, 7 Sep 2004, Andrew Lamzin wrote: > Здравствуйте! > > Не получается сделать ротацию логов по команде oopsctl rotate - > команда принимается, логи пишутся в тот же файл > > кусок конфига: > > > accesslog /cache/oops/access.log > > подскажите, как (пошагово) сделать эту ротацию?
<...> mv /cache/oops/access.log.0.gz /cache/oops/access.log.1.gz mv /cache/oops/access.log /cache/oops/access.log.0 /usr/local/oops/oopsctl rotate gzip /cache/oops/access.log.0 > > спасибо > > ===================================================================== > If you would like to unsubscribe from this list send message to > [EMAIL PROTECTED] with "unsubscribe oops" in message body. > Archive is accessible on http://lists.paco.net/oops-rus/ > Igor Khasilev | PACO Links, igor at paco dot net | ===================================================================== If you would like to unsubscribe from this list send message to [EMAIL PROTECTED] with "unsubscribe oops" in message body. Archive is accessible on http://lists.paco.net/oops-rus/
