Re: How to maintain the csv log files in pg_log directory only forpast 30 days

Поиск
Список
Период
Сортировка
От Raghavendra Rao J S V
Тема Re: How to maintain the csv log files in pg_log directory only forpast 30 days
Дата
Msg-id CAEHH7R65bFz_em9hB4QffOWrYYm+u_TC7=nDjpNtgsgTWMqfKw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to maintain the csv log files in pg_log directory only forpast 30 days  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: How to maintain the csv log files in pg_log directory only forpast 30 days  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Hi All,

Hope you all are recommending below settings to maintain only max 30 days logs in pg_log directory. Please correct me if I am wrong.

log_filename = 'postgresql-%d.log'  
log_truncate_on_rotation = 'on',  

Regards,
Raghavendra Rao

On Sat, 29 Sep 2018 at 04:24, Michael Paquier <michael@paquier.xyz> wrote:
On Fri, Sep 28, 2018 at 06:19:16AM -0700, Adrian Klaver wrote:
> If log_truncate_on_rotation = 'on', correct?

Yup, thanks for precising.
--
Michael


--
Regards,
Raghavendra Rao J S V
Mobile- 8861161425

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: ORM
Следующее
От: Carl Sverre
Дата:
Сообщение: Postgres trigger side-effect is occurring out of order with row-levelsecurity select policy