Deleting the pg logs older than 30 days or certain time

Поиск
Список
Период
Сортировка
От Wetmore, Matthew (CTR)
Тема Deleting the pg logs older than 30 days or certain time
Дата
Msg-id 425e0d73152e4c0692293d144a299305@express-scripts.com
обсуждение исходный текст
Ответ на Deleting the pg logs older than 30 days or certain time  (Nikhil Ingale <niks.bgm@gmail.com>)
Список pgsql-admin

I feel you have more control with a simple bash (or script of choice) one liner and cron.  I don’t like automated deletes of anything unless I’m in control.  $0.02

 

 

 

From: Nikhil Ingale <niks.bgm@gmail.com>
Sent: Thursday, June 29, 2023 12:12 AM
To: pgsql-admin@lists.postgresql.org
Subject: [EXTERNAL] Deleting the pg logs older than 30 days or certain time

 

Hi All,

Can postgresql internal log rotation configuration mechanism delete the log files older than a specific period of time?

 

Is there a way to configure this as part of postgresql?

 

Regards,
Nikhil Ingale

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

Предыдущее
От: MichaelDBA
Дата:
Сообщение: Re: Deleting the pg logs older than 30 days or certain time
Следующее
От: Wells Oliver
Дата:
Сообщение: Annoying RDS recovery message in logs on client connect?