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

keycloak logs and log level #2

Open
npo-mmenke opened this issue Mar 11, 2024 · 3 comments
Open

keycloak logs and log level #2

npo-mmenke opened this issue Mar 11, 2024 · 3 comments

Comments

@npo-mmenke
Copy link

hey, thanks for this plugin... I'm having trouble configuring a saml identity provider and would like to check the keycloak logs for hints whats going wrong. Is there any way to access them and/or influence the log level?

@ochorocho
Copy link
Contributor

This command may help to debug issues:

ddev logs -f -s keycloak

How keycloak is started in he container:

start-dev --proxy edge --import-realm

IIRC, start-dev will make keycloak already more verbose.

@npo-mmenke
Copy link
Author

thanks, that helps already

I don' think start-dev has any effect on logging, from https://www.keycloak.org/server/configuration

Development mode sets the following default configuration:
HTTP is enabled
Strict hostname resolution is disabled
Cache is set to local (No distributed cache mechanism used for high availability)
Theme-caching and template-caching is disabled

here is a reference how to specify log levels when starting:

https://www.keycloak.org/server/logging

bin/kc.[sh|bat] start --log-level=

maybe it's possible to pass this for the plugin?

@ochorocho
Copy link
Contributor

I'm happy to change the startup command. Would be great if you could providde a PR with to command changed according to your need while keeping the options set in start-dev.

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