Skip to content

Adding exclude_fields in the configuration of slack handlers#402

Open
Gwemox wants to merge 1 commit intosymfony:4.xfrom
Gwemox:exclude-fields
Open

Adding exclude_fields in the configuration of slack handlers#402
Gwemox wants to merge 1 commit intosymfony:4.xfrom
Gwemox:exclude-fields

Conversation

@Gwemox
Copy link
Copy Markdown

@Gwemox Gwemox commented Apr 8, 2021

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

@doenietzomoeilijk
Copy link
Copy Markdown

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
Copy link
Copy Markdown

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

@Gwemox Gwemox marked this pull request as draft March 19, 2025 09:26
@Gwemox
Copy link
Copy Markdown
Author

Gwemox commented Mar 19, 2025

Hi @markosea,
I've just rebased my branch with master and resolved the conflicts. Could you please review it again when you have a moment?
Thanks!

@Gwemox Gwemox marked this pull request as ready for review March 19, 2025 09:37
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.

3 participants