Re: Deleting the pg logs older than 30 days or certain time

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Deleting the pg logs older than 30 days or certain time
Дата
Msg-id CAECtzeVJ4DLZ=+pdGC4eqCktzycshRFzN2Zynm4nh45oC7cdHQ@mail.gmail.com
обсуждение исходный текст
Ответ на Deleting the pg logs older than 30 days or certain time  (Nikhil Ingale <niks.bgm@gmail.com>)
Ответы Re: Deleting the pg logs older than 30 days or certain time  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Hi,

Le jeu. 29 juin 2023 à 09:13, Nikhil Ingale <niks.bgm@gmail.com> a écrit :
Hi All,
Can postgresql internal log rotation configuration mechanism delete the log files older than a specific period of time?


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


Nope, you'll have to configure logrotate.


--
Guillaume.

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

Предыдущее
От: Nikhil Ingale
Дата:
Сообщение: Deleting the pg logs older than 30 days or certain time
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Deleting the pg logs older than 30 days or certain time