Skip to content

[ErrorLog] Add expand_newlines option to the error_log handler - #581

Merged
GromNaN merged 1 commit into
symfony:4.xfrom
Amoifr:feat/error-log-expand-newlines
Jul 3, 2026
Merged

[ErrorLog] Add expand_newlines option to the error_log handler#581
GromNaN merged 1 commit into
symfony:4.xfrom
Amoifr:feat/error-log-expand-newlines

Conversation

@Amoifr

@Amoifr Amoifr commented May 11, 2026

Copy link
Copy Markdown
Contributor

Per request in #580: exposes the $expandNewlines constructor argument of Monolog's ErrorLogHandler as a new expand_newlines boolean config option (defaults to false, preserving current behavior).

monolog:
    handlers:
        main:
            type:            error_log
            message_type:    0
            expand_newlines: true

Fix #580

@GromNaN GromNaN added the Feature label Jul 3, 2026
@GromNaN

GromNaN commented Jul 3, 2026

Copy link
Copy Markdown
Member

Thank you @Amoifr.

@GromNaN
GromNaN merged commit 3de7470 into symfony:4.x Jul 3, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add configuration option expand_newlines for Error_log handler

3 participants