[GH-ISSUE #1944] I have a question #835

Closed
opened 2026-03-04 03:01:14 +03:00 by kerem · 0 comments
Owner

Originally created by @song1024 on GitHub (Feb 7, 2025).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1944

if ($this->nextRotation <= $record->datetime) {

Is the condition written backwards?
The framework I am using uses this component, but the logs cannot be deleted. By tracing the source code and reverse modifying the conditions here, the logs were immediately deleted

Originally created by @song1024 on GitHub (Feb 7, 2025). Original GitHub issue: https://github.com/Seldaek/monolog/issues/1944 if ($this->nextRotation <= $record->datetime) { Is the condition written backwards? The framework I am using uses this component, but the logs cannot be deleted. By tracing the source code and reverse modifying the conditions here, the logs were immediately deleted
kerem closed this issue 2026-03-04 03:01:15 +03:00
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#835
No description provided.