[GH-ISSUE #797] Retrieve the path of the log file #302

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

Originally created by @MBoretto on GitHub (May 26, 2016).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/797

Hello everybody,
how can I retrieve the path of the log file from a StreamHandler object?
https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/StreamHandler.php#L48
there isn't a member function to get $this->url;
Thanks

Originally created by @MBoretto on GitHub (May 26, 2016). Original GitHub issue: https://github.com/Seldaek/monolog/issues/797 Hello everybody, how can I retrieve the path of the log file from a StreamHandler object? https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/StreamHandler.php#L48 there isn't a member function to get `$this->url`; Thanks
kerem closed this issue 2026-03-04 02:13:58 +03:00
Author
Owner

@MBoretto commented on GitHub (May 26, 2016):

Thanks!

<!-- gh-comment-id:222013267 --> @MBoretto commented on GitHub (May 26, 2016): Thanks!
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#302
No description provided.