-
- Downloads
extension: add a way to register a new logging channel and configure masking
This allows a bundle to register an extension without having to create a dummy service+tag. Registering allows an optional parameter for disabling secret masking in the log processor for that channel. The main use case for this is when a bundle wants an additional audit channel which can contain PII or similar. Since we configure the monolog bundle directly here we need to add a dependency on it and make sure it is loaded. This means that bundles might need to add/load the monolog bundle in their tests now after updating to this version.
Showing
- composer.json 3 additions, 2 deletionscomposer.json
- composer.lock 270 additions, 3 deletionscomposer.lock
- src/DependencyInjection/DbpRelayCoreExtension.php 31 additions, 1 deletionsrc/DependencyInjection/DbpRelayCoreExtension.php
- src/Extension/ExtensionTrait.php 13 additions, 0 deletionssrc/Extension/ExtensionTrait.php
- src/Logging/LoggingProcessor.php 19 additions, 4 deletionssrc/Logging/LoggingProcessor.php
- tests/ExtensionTraitTest.php 2 additions, 0 deletionstests/ExtensionTraitTest.php
- tests/Kernel.php 2 additions, 0 deletionstests/Kernel.php
- tests/Logging/LoggingProcessorTest.php 30 additions, 9 deletionstests/Logging/LoggingProcessorTest.php
... | ... | @@ -6,6 +6,7 @@ |
"require": { | ||
"php": ">=7.3", | ||
"ext-fileinfo": "*", | ||
"ext-intl": "*", | ||
"ext-json": "*", | ||
"api-platform/core": "^2.6.8 <2.7.0", | ||
"doctrine/annotations": "^1.13", | ||
... | ... | @@ -22,6 +23,7 @@ |
"symfony/lock": "^5.4", | ||
"symfony/messenger": "^5.4", | ||
"symfony/mime": "^5.4", | ||
"symfony/monolog-bundle": "^3.8", | ||
"symfony/process": "^5.4", | ||
"symfony/security-bundle": "^5.4", | ||
"symfony/security-core": "^5.4", | ||
... | ... | @@ -29,8 +31,7 @@ |
"symfony/twig-bundle": "^5.4", | ||
"symfony/uid": "^5.4", | ||
"symfony/validator": "^5.4", | ||
"symfony/yaml": "^5.4", | ||
"ext-intl": "*" | ||
"symfony/yaml": "^5.4" | ||
}, | ||
"require-dev": { | ||
"brainmaestro/composer-git-hooks": "^2.8.5", | ||
... | ... |
Please register or sign in to comment