Enable liquibase trace logging with JPA profile

This commit is contained in:
mposolda 2015-06-12 16:59:04 +02:00
parent afe088a9e8
commit 5c8e165080
2 changed files with 6 additions and 1 deletions

View file

@ -381,6 +381,8 @@
<keycloak.user.provider>jpa</keycloak.user.provider>
<keycloak.eventsStore.provider>jpa</keycloak.eventsStore.provider>
<keycloak.userSessions.provider>jpa</keycloak.userSessions.provider>
<keycloak.liquibase.logging.level>trace</keycloak.liquibase.logging.level>
</systemPropertyVariables>
</configuration>
</plugin>

View file

@ -14,8 +14,11 @@ log4j.logger.org.keycloak=info
# log4j.logger.org.keycloak.provider.ProviderManager=debug
# log4j.logger.org.keycloak.provider.FileSystemProviderLoaderFactory=debug
# Liquibase updates logged with "info" by default. Logging level can be changed by system property "keycloak.liquibase.logging.level"
keycloak.liquibase.logging.level=info
log4j.logger.org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider=${keycloak.liquibase.logging.level}
# Enable to view database updates
# log4j.logger.org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider=trace
# log4j.logger.org.keycloak.connections.mongo.updater.DefaultMongoUpdaterProvider=debug
# log4j.logger.org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory=debug
# log4j.logger.org.keycloak.migration.MigrationModelManager=debug