Skip to content

fix: replace log line placeholder with supplied values - #2377

Open
Litarnus wants to merge 2 commits into
5.xfrom
fix/monolog-log-placeholders
Open

Litarnus wants to merge 2 commits into
5.xfrom
fix/monolog-log-placeholders

Conversation

@Litarnus

Copy link
Copy Markdown
Collaborator

Replaces placeholders in log messages with the supplied context data instead of just logging the template. The template is still recorded as an attribute.

Monologs processor does a little bit too much for us, such as printing exceptions with their stack trace so we have a small function to perform the interpolation ourselves

@Litarnus
Litarnus requested a review from stayallive November 16, 2026 14:17
@Litarnus Litarnus self-assigned this Nov 16, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b7b8045. Configure here.

Comment thread src/Monolog/LogsHandler.php Resolved
@Litarnus Litarnus changed the title fix: interpolate log lines with supplied values fix: replace log line placeholder with supplied values Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant