[pgAdmin][Patch] - Feature #6395 - Feature request: Log Rotation - Mailing list pgadmin-hackers

From Yogesh Mahajan
Subject [pgAdmin][Patch] - Feature #6395 - Feature request: Log Rotation
Date
Msg-id CAMa=N=OAkNDvwX+c6VA1+9PDBtdHt+fTYKm8nwm8jt-BOh=9BQ@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][Patch] - Feature #6395 - Feature request: Log Rotation  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List 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

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Added window maximize/restore functionality for prope
Next
From: Khushboo Vashi
Date:
Subject: Re: oauth2 patch