mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 16:15:49 +03:00
[PR #428] [MERGED] NewRelicHandler: Prevent newrelic_add_custom_parameter() overwriting #1145
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#1145
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Seldaek/monolog/pull/428
Author: @moderndeveloperllc
Created: 9/29/2014
Status: ✅ Merged
Merged: 9/29/2014
Merged by: @Seldaek
Base:
master← Head:master📝 Commits (1)
e7647fdAdd prefixes to the context and extra record keys. Needed as some processors have the same keys as the the context. Specifically, the IntrospectionProcessor has "line" and "file" that can overwrite an error context "line" and "file".📊 Changes
2 files changed (+6 additions, -6 deletions)
View changed files
📝
src/Monolog/Handler/NewRelicHandler.php(+2 -2)📝
tests/Monolog/Handler/NewRelicHandlerTest.php(+4 -4)📄 Description
Add prefixes to the context and extra record keys. Needed as some processors have the same keys as the the context. Specifically, the
IntrospectionProcessorhas "line" and "file" that can overwrite an error context "line" and "file". If there is something like an E_PARSE error, the context variables are set, but theIntrospectionProcessorgets nulls. Tested on Lite account (screenshot below)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.