monolog-bundle icon indicating copy to clipboard operation
monolog-bundle copied to clipboard

Adding exclude_fields in the configuration of slack handlers

Open Gwemox opened this issue 3 years ago • 2 comments

Add configuration : exclude_fields => Dot separated list of fields to exclude from slack message. E.g. ['context.field1', 'extra.field2']

cf. https://github.com/Seldaek/monolog/blob/main/src/Monolog/Handler/SlackHandler.php

Gwemox avatar Apr 08 '21 09:04 Gwemox

I would love to see this land in a release, I'm currently running into a situation where this functionality is pretty much required. Can't solve it with a processor, since the record is already turned into a SlackRecord...

doenietzomoeilijk avatar Jun 28 '21 12:06 doenietzomoeilijk

So... any way of getting this ball rolling again? Pinging @Seldaek / @stof ?

doenietzomoeilijk avatar Nov 23 '21 08:11 doenietzomoeilijk