[GH-ISSUE #487] Load settings for handlers, processors etc. from .monolog - сonfig file #169

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

Originally created by @mesilov on GitHub (Dec 28, 2014).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/487

I use monolog in dev and production servers. Log path, log-levels and some other settings are different.

Now, i have a some class fabric who configure monolog instance from config file, but i think this feature may be implemented native in Monolog?

Originally created by @mesilov on GitHub (Dec 28, 2014). Original GitHub issue: https://github.com/Seldaek/monolog/issues/487 I use monolog in dev and production servers. Log path, log-levels and some other settings are different. Now, i have a some class fabric who configure monolog instance from config file, but i think this feature may be implemented native in Monolog?
kerem closed this issue 2026-03-04 02:12:50 +03:00
Author
Owner

@Seldaek commented on GitHub (Dec 29, 2014):

I don't really see how it's monolog's job to handle env-specific config files. Most frameworks do this and if you don't use one you can roll your own.

<!-- gh-comment-id:68293164 --> @Seldaek commented on GitHub (Dec 29, 2014): I don't really see how it's monolog's job to handle env-specific config files. Most frameworks do this and if you don't use one you can roll your own.
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#169
No description provided.