Re: pg_ctl patch to integrate apache's rotatelogs

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_ctl patch to integrate apache's rotatelogs
Дата
Msg-id 200405150406.i4F46cP04992@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pg_ctl patch to integrate apache's rotatelogs  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_ctl patch to integrate apache's rotatelogs  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Ouch.  How long has that documentation been wrong?  We have pointed
> > folks to that section of the docs tons of times, and no one mentioned
> > that "logrotate" is really "rotatelogs", and that it is missing
> > parameters?
>
> > I have applied the following patch to document rotatelogs properly.
>
> I think you just broke it.  logrotate and rotatelogs are two different
> programs, and AFAIK the existing documentation correctly described the
> one that is easier to use with Postgres.

Oh, why don't I have logrotate.  My system has:

       rotatelogs - rotate Apache logs without having to kill the
       server

       rotatelogs logfile rotationtime [offset]

and it says it is Apache's.  I must be wrong but can someone explain
this?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_ctl patch to integrate apache's rotatelogs
Следующее
От: Neil Conway
Дата:
Сообщение: error codes for ln(), power()