Repository navigation
Disable DEBUG Log Level in keycloak container logs #34896
|
Environment details: EKS: 1.29 version What are we doing: We are building our own Docker image with adding js scripts on top on base keycloak container Configuration being used: What we expect: After adding above configuration in deployment.yaml only INFO level logs are printed in container console logs. Issue being observed: Even after configuring the above parameters in keycloak deployment.yaml file we are still observing DEBUG level logs from application container as shown below. I’m not sure if there’s any missing log configuration required to disable the DEBUG level. Please advise as its generating a lot of unwanted log ingestion. |
Replies: 3 comments
|
have you found out a solution for this ? I'm facing the same problem, using still v24, and have an SPI as provider. without that SPI, I don't have the DEBUG log. |
|
Based upon the logs and the comment from @tinu-paulaner you need to cleanse the custom-spi.jar provider jar of SLF4J classes that are preventing the normal jboss logging from working. |
|
Hi @riteshkumar-prive , I saw in your logs you have integrated logback, can you tell me how you did it. I have raised in stackoverflow page as well. |
Based upon the logs
and the comment from @tinu-paulaner you need to cleanse the custom-spi.jar provider jar of SLF4J classes that are preventing the normal jboss logging from working.