-
- 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
Loading
Please register or sign in to comment