Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update monolog_console.rst #17927

Closed
wants to merge 1 commit into from
Closed

Update monolog_console.rst #17927

wants to merge 1 commit into from

Conversation

94noni
Copy link
Contributor

@94noni 94noni commented Feb 20, 2023

Small PR to try to document symfony/monolog-bundle#446
I've came across and did not find any doc entry, for me this page is legit

@GromNaN allow me to ping you here and asking you some feedback

thx!

@GromNaN
Copy link
Member

GromNaN commented Feb 21, 2023

This will work only if the env var is used in monolog configuration. I would not mention this feature like this in the documentation, because we can do this kind of runtime configuration with almost any env var.

monolog:
    handlers:
        main:
            type: stream
            path: "%kernel.logs_dir%/%kernel.environment%.log"
            level: "%env(LOG_LEVEL)%"

@94noni
Copy link
Contributor Author

94noni commented Feb 21, 2023

@GromNaN oki lets close then, thx for answering

@94noni 94noni closed this Feb 21, 2023
@94noni 94noni deleted the patch-11 branch February 21, 2023 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants