[GH-ISSUE #1769] [RotatingFileHandler] Is it possible to save logs in file per hour option? #745

Closed
opened 2026-03-04 02:17:36 +03:00 by kerem · 1 comment
Owner

Originally created by @piernik on GitHub (Oct 25, 2022).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1769

Monolog version 1

As in topic. Clients generate large files per day - even 3GB. Is it possible to have file per hour strategy?

Originally created by @piernik on GitHub (Oct 25, 2022). Original GitHub issue: https://github.com/Seldaek/monolog/issues/1769 Monolog version 1 As in topic. Clients generate large files per day - even 3GB. Is it possible to have `file per hour` strategy?
kerem 2026-03-04 02:17:36 +03:00
  • closed this issue
  • added the
    Support
    label
Author
Owner

@Seldaek commented on GitHub (Feb 4, 2023):

Nope, I suggest you use logrotate + a simple StreamHandler to have more flexibility here.

<!-- gh-comment-id:1416782402 --> @Seldaek commented on GitHub (Feb 4, 2023): Nope, I suggest you use logrotate + a simple StreamHandler to have more flexibility here.
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/monolog#745
No description provided.