Re: more contrib: log rotator

Поиск
Список
Период
Сортировка
От Ed L.
Тема Re: more contrib: log rotator
Дата
Msg-id 200304041006.42940.pgsql@bluepolka.net
обсуждение исходный текст
Ответ на Re: more contrib: log rotator  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-hackers
On Friday April 4 2003 10:04, Ed L. wrote:
> By way of feature ideas, one very convenient but not widely used feature
> of Apache's log rotator is the ability to specify a strftime() format
> string for the file extension.  For example, if I want to have my logs
> rollover every 24 hours and be named log.Mon, log.Tue, log.Wed, I say
> something like
>
>     pg_ctl start | rotatelogs 86400 "%a"

More accurately, something like this:
pg_ctl start | rotatelogs 86400 "log.%a"

Ed



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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: more contrib: log rotator
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: more contrib: log rotator