[GH-ISSUE #1074] Feature Request: log rotation #752

Closed
opened 2026-05-07 00:27:10 +02:00 by BreizhHardware · 1 comment

Originally created by @ksurl on GitHub (Mar 28, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1074

💡 Idea

current log file grows unchecked. add log rotation

💻 Target components

server side log rotation using something like https://github.com/natefinch/lumberjack

Originally created by @ksurl on GitHub (Mar 28, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1074 :bulb: **Idea** <!-- Share your thoughts; try to be detailed if you can --> current log file grows unchecked. add log rotation :computer: **Target components** <!-- Where should this feature/enhancement be added? --> <!-- e.g. ntfy server, Android app, iOS app, web app --> server side log rotation using something like https://github.com/natefinch/lumberjack
BreizhHardware 2026-05-07 00:27:10 +02:00
Author
Owner

@binwiederhier commented on GitHub (Mar 29, 2024):

As discussed on Discord:

Log rotation is really not a thing the app should do itself. logrotate is standard on every Linux system, and if you run in systemd then journalctl will do it for ya.

<!-- gh-comment-id:2026523379 --> @binwiederhier commented on GitHub (Mar 29, 2024): As discussed on Discord: > Log rotation is really not a thing the app should do itself. logrotate is standard on every Linux system, and if you run in systemd then journalctl will do it for ya.
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/ntfy#752
No description provided.