# # Copyright 2016 Red Hat, Inc. and/or its affiliates # and other contributors as indicated by the @author tags. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # log4j.rootLogger=info, keycloak log4j.appender.keycloak=org.apache.log4j.ConsoleAppender log4j.appender.keycloak.layout=org.apache.log4j.EnhancedPatternLayout keycloak.testsuite.logging.pattern=%d{HH:mm:ss,SSS} %-5p [%c] %m%n log4j.appender.keycloak.layout.ConversionPattern=${keycloak.testsuite.logging.pattern} # Logging with "info" when running test from IDE, but disabled when running test with "mvn" . Both cases can be overriden by use system property "keycloak.logging.level" (eg. -Dkeycloak.logging.level=debug ) log4j.logger.org.keycloak=${keycloak.logging.level:info} log4j.logger.org.jboss.resteasy.resteasy_jaxrs.i18n=off #log4j.logger.org.keycloak.keys.DefaultKeyManager=trace #log4j.logger.org.keycloak.services.managers.AuthenticationManager=trace keycloak.testsuite.logging.level=debug log4j.logger.org.keycloak.testsuite=${keycloak.testsuite.logging.level} log4j.logger.org.keycloak.testsuite.arquillian.undertow.lb.SimpleUndertowLoadBalancer=info # Enable to view events # log4j.logger.org.keycloak.events=debug # Enable to view loaded SPI and Providers # log4j.logger.org.keycloak.services.DefaultKeycloakSessionFactory=debug # log4j.logger.org.keycloak.services.DefaultComponentFactoryProviderFactory=debug # 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=${keycloak.liquibase.logging.level} log4j.logger.org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory=debug # Enable to view database updates # log4j.logger.org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory=debug # log4j.logger.org.keycloak.migration.MigrationModelManager=debug keycloak.infinispan.logging.level=info log4j.logger.org.keycloak.cluster.infinispan=${keycloak.infinispan.logging.level} log4j.logger.org.keycloak.connections.infinispan=${keycloak.infinispan.logging.level} log4j.logger.org.keycloak.keys.infinispan=${keycloak.infinispan.logging.level} log4j.logger.org.keycloak.models.cache.infinispan=${keycloak.infinispan.logging.level} log4j.logger.org.keycloak.models.sessions.infinispan=${keycloak.infinispan.logging.level} log4j.logger.org.infinispan.client.hotrod.impl=info # Enable to view kerberos/spnego logging # log4j.logger.org.keycloak.broker.kerberos=trace # Enable to view detailed AS REQ and TGS REQ requests to embedded Kerberos server # log4j.logger.org.apache.directory.server.kerberos=debug log4j.logger.org.xnio=off log4j.logger.org.hibernate=off log4j.logger.org.jboss.resteasy=warn log4j.logger.org.apache.directory.api=warn log4j.logger.org.apache.directory.server.core=warn # log4j.logger.org.keycloak.authentication.authenticators.browser.IdentityProviderAuthenticator=trace # log4j.logger.org.keycloak.keys.infinispan=trace log4j.logger.org.keycloak.services.clientregistration.policy=debug # log4j.logger.org.keycloak.services.clientpolicy=trace # log4j.logger.org.keycloak.testsuite.clientpolicy=trace # log4j.logger.org.keycloak.protocol.ciba=trace #log4j.logger.org.keycloak.authentication=debug ## Enable SQL debugging # Enable logs the SQL statements #log4j.logger.org.hibernate.SQL=debug # Enable logs the JDBC parameters passed to a query #log4j.logger.org.hibernate.type=trace # log4j.logger.org.keycloak.models.map=trace # log4j.logger.org.keycloak.models.map.transaction=debug # Enable to log short stack traces for log entries enabled with StackUtil.getShortStackTrace() calls # log4j.logger.org.keycloak.STACK_TRACE=trace