[GH-ISSUE #1254] [FR] Ability to clear logs? #1019

Closed
opened 2026-02-26 06:35:27 +03:00 by kerem · 1 comment
Owner

Originally created by @Hukuma1 on GitHub (Jul 21, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1254

Is your feature request related to a problem? Please describe.
Was setting up a backup solution when I noticed that my nginxproxymanager config folder was giant. The log and logs folders are a whopping 2.2 GB.

Describe the solution you'd like
Would love for some ability to a) clear logs on the spot from within the interface and b) perhaps implement an automatic method to clear logs after X amount of time has passed? e.g. retain logs for 1 month only

Describe alternatives you've considered
Not backing up my nginxproxymanager config folder. :P

Originally created by @Hukuma1 on GitHub (Jul 21, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1254 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **Is your feature request related to a problem? Please describe.** Was setting up a backup solution when I noticed that my `nginxproxymanager` config folder was giant. The `log` and `logs` folders are a whopping 2.2 GB. **Describe the solution you'd like** Would love for some ability to a) clear logs on the spot from within the interface and b) perhaps implement an automatic method to clear logs after X amount of time has passed? e.g. retain logs for 1 month only **Describe alternatives you've considered** Not backing up my `nginxproxymanager` config folder. :P
kerem 2026-02-26 06:35:27 +03:00
Author
Owner

@chaptergy commented on GitHub (Jul 22, 2021):

b) was added in v2.9.5 two days ago via https://github.com/jc21/nginx-proxy-manager/pull/1140. 4 weeks of access logs and 10 weeks of error logs are kept and removed after.

<!-- gh-comment-id:884670781 --> @chaptergy commented on GitHub (Jul 22, 2021): b) was added in v2.9.5 two days ago via https://github.com/jc21/nginx-proxy-manager/pull/1140. 4 weeks of access logs and 10 weeks of error logs are kept and removed after.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1019
No description provided.