Re: Feature #6395 - Basic Log Rotation

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Feature #6395 - Basic Log Rotation
Дата
Msg-id CA+OCxoxeo21YAfGiWBPxon2DNnNFYK4=qHWBgsGjctx6g8dq2w@mail.gmail.com
обсуждение исходный текст
Ответ на Feature #6395 - Basic Log Rotation  (Thomas Greenwood <tom@coginternet.net>)
Список pgadmin-hackers
Hi

On Mon, Apr 19, 2021 at 5:17 PM Thomas Greenwood <tom@coginternet.net> wrote:

Hi,

I've opened feature issue #6395 to enable log rotation in pgAdmin4 v5.

Please find the attached basic patch as a starter for 10. It's the same patch attached to the feature issue.


Nice! My only suggestions would be that the config options be added to config.py, with default values of zero for log size, and say, 5 for the number of backups (should that be 'archives'?), and that we test to see if the log size is > 0 before enabling rotation. The reason for that is that we keep all config options in config.py to ensure it's self-documenting.

--

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

Предыдущее
От: Pradip Parkale
Дата:
Сообщение: [pgAdmin]:SonarQube Fixes
Следующее
От: Pradip Parkale
Дата:
Сообщение: Re: [pgAdmin][RM6385]: Backup on a shared server doesn't seem to work