Skip to content

[MDS-5437] Implement KeyCloak logging #2806

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

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

henryoforeh-dev
Copy link
Contributor

@henryoforeh-dev henryoforeh-dev commented Nov 16, 2023

Objective

MDS-5437

I have configured the werkzeug logger's logging level to CRITICAL and propagate to False in order to prevent the propagation of INFO logs. The werkzeug logger is the default logger responsible for displaying logs when the core-api is running in development, testing, and production environments. To replicate this logger locally, I added a new section to the LOGGING_DICT_CONFIG configuration setup and set the level attribute to INFO and the propagate attribute to True.
I
This fix can only be tested after merging and testing it in the development environment.

@henryoforeh-dev henryoforeh-dev merged commit 16ba63f into develop Nov 16, 2023
@henryoforeh-dev henryoforeh-dev deleted the MDS-5437-fix-keycloak-logging branch November 16, 2023 19:22
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.

4 participants