[pgAdmin][Patch] - Feature #6395 - Feature request: Log Rotation

From: Yogesh Mahajan <yogesh(dot)mahajan(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][Patch] - Feature #6395 - Feature request: Log Rotation
Date: 2021-05-25 05:23:34
Message-ID: CAMa=N=OAkNDvwX+c6VA1+9PDBtdHt+fTYKm8nwm8jt-BOh=9BQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

Please find the attached patch which rotates the pgadmin log file with
context to the parameters specified in the config file.

# Log rotation setting
LOG_ROTATION_SIZE = 10 # In MBs
LOG_ROTATION_AGE = 1440 # In minutes
LOG_ROTATION_MAX_LOGS = 90 # Maximum number of backups to retain

Thanks,
Yogesh Mahajan
EnterpriseDB

Attachment Content-Type Size
RM6395_v1.patch application/x-patch 3.8 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Khushboo Vashi 2021-05-25 05:48:22 Re: oauth2 patch
Previous Message Akshay Joshi 2021-05-24 16:38:36 pgAdmin 4 commit: Added window maximize/restore functionality for prope