How to maintain the csv log files in pg_log directory only for past30 days

Поиск
Список
Период
Сортировка
От Raghavendra Rao J S V
Тема How to maintain the csv log files in pg_log directory only for past30 days
Дата
Msg-id CAEHH7R4Sj+wr-imxcaSfMdr4eDJontxq68SxE8XC-dT9JABfWg@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  (Francisco Olarte <folarte@peoplecall.com>)
Re: How to maintain the csv log files in pg_log directory only forpast 30 days  (Ron <ronljohnsonjr@gmail.com>)
Список pgsql-general

Hi All,

Log file will be generated in csv format at pg_log directory in our PostgreSQL. Every day we are getting one log file. We would like to maintain only max 30 days. Which setting need to modify by us in “postgresql.conf” in order to recycle the log files after 30 days.
--
Regards,
Raghavendra Rao J S V
Mobile- 8861161425

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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: Out of Memory
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Out of Memory