Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore some MDC fields #230

Closed
Sukitly opened this issue Apr 11, 2023 · 1 comment
Closed

Ignore some MDC fields #230

Sukitly opened this issue Apr 11, 2023 · 1 comment

Comments

@Sukitly
Copy link

Sukitly commented Apr 11, 2023

Hi, I am new to this library.
I got a question:
What should I do to ignore some MDC fields when using ths library?
Is there any way to do it now?

Thanks.

@SlyngDK
Copy link
Contributor

SlyngDK commented Apr 11, 2023

@Sukitly No there is no filtering of MDC fields, but you can disable MDC logging, and implement your own https://github.com/quarkiverse/quarkus-logging-json#custom-log-handler.

All config options can be seen here https://quarkiverse.github.io/quarkiverse-docs/quarkus-logging-json/dev/index.html

@SlyngDK SlyngDK closed this as completed Apr 11, 2023
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

No branches or pull requests

2 participants