2016-02-03 10:20:22 +00:00
#
# 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.
#
2015-09-18 12:27:28 +00:00
log4j.rootLogger = info, keycloak
log4j.appender.keycloak = org.apache.log4j.ConsoleAppender
2017-08-07 14:31:20 +00:00
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}
2015-09-18 12:27:28 +00:00
2017-03-02 09:27:31 +00:00
# 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 )
2017-07-14 05:01:54 +00:00
log4j.logger.org.keycloak = ${keycloak.logging.level:info}
2015-09-18 12:27:28 +00:00
2017-06-26 16:36:43 +00:00
log4j.logger.org.jboss.resteasy.resteasy_jaxrs.i18n = off
2016-05-04 11:57:28 +00:00
2016-10-05 11:06:54 +00:00
#log4j.logger.org.keycloak.keys.DefaultKeyManager=trace
#log4j.logger.org.keycloak.services.managers.AuthenticationManager=trace
2017-05-29 19:25:44 +00:00
keycloak.testsuite.logging.level = debug
log4j.logger.org.keycloak.testsuite = ${keycloak.testsuite.logging.level}
log4j.logger.org.keycloak.testsuite.arquillian.undertow.lb.SimpleUndertowLoadBalancer = info
2015-09-18 12:27:28 +00:00
# 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.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
2016-03-08 21:04:25 +00:00
log4j.logger.org.keycloak.connections.jpa.updater.liquibase = ${keycloak.liquibase.logging.level}
log4j.logger.org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory = debug
2015-09-18 12:27:28 +00:00
# Enable to view database updates
# log4j.logger.org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory=debug
# log4j.logger.org.keycloak.migration.MigrationModelManager=debug
2017-05-29 19:25:44 +00:00
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}
2015-09-18 12:27:28 +00:00
# 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
2017-06-26 16:36:43 +00:00
log4j.logger.org.jboss.resteasy = warn
2015-09-18 12:27:28 +00:00
log4j.logger.org.apache.directory.api = warn
log4j.logger.org.apache.directory.server.core = warn
2016-09-07 06:52:55 +00:00
2016-09-13 15:41:21 +00:00
# log4j.logger.org.keycloak.authentication.authenticators.browser.IdentityProviderAuthenticator=trace
2016-10-05 09:58:58 +00:00
# log4j.logger.org.keycloak.keys.infinispan=trace
2017-01-31 13:49:54 +00:00
log4j.logger.org.keycloak.services.clientregistration.policy = debug
2017-06-22 20:23:20 +00:00
2017-08-30 06:16:00 +00:00
#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